diff options
author | Damien George <damien.p.george@gmail.com> | 2014-08-25 18:12:23 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-08-25 18:12:23 +0100 |
commit | 3475b041018afe006fc792b504acef20c60426bc (patch) | |
tree | b7f251d1539b10ae74b8387db5d26b27b8621aa5 | |
parent | 29c92a407c8fa04a205f10c4efdb5696e0cf0b58 (diff) | |
download | micropython-3475b041018afe006fc792b504acef20c60426bc.tar.gz micropython-3475b041018afe006fc792b504acef20c60426bc.zip |
teensy: Fix multiple definition of irq functions.
-rw-r--r-- | teensy/teensy_hal.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/teensy/teensy_hal.h b/teensy/teensy_hal.h index 53228951c2..39d272f778 100644 --- a/teensy/teensy_hal.h +++ b/teensy/teensy_hal.h @@ -117,16 +117,6 @@ __attribute__(( always_inline )) static inline void __WFI(void) { __asm volatile ("wfi"); } -__attribute__(( always_inline )) static inline uint32_t __get_PRIMASK(void) { - uint32_t result; - __asm volatile ("MRS %0, primask" : "=r" (result)); - return(result); -} - -__attribute__(( always_inline )) static inline void __set_PRIMASK(uint32_t priMask) { - __asm volatile ("MSR primask, %0" : : "r" (priMask) : "memory"); -} - uint32_t HAL_GetTick(void); void HAL_Delay(uint32_t Delay); |