Skip to content

Commit 3475b04

Browse files
committed
teensy: Fix multiple definition of irq functions.
1 parent 29c92a4 commit 3475b04

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

teensy/teensy_hal.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -117,16 +117,6 @@ __attribute__(( always_inline )) static inline void __WFI(void) {
117117
__asm volatile ("wfi");
118118
}
119119

120-
__attribute__(( always_inline )) static inline uint32_t __get_PRIMASK(void) {
121-
uint32_t result;
122-
__asm volatile ("MRS %0, primask" : "=r" (result));
123-
return(result);
124-
}
125-
126-
__attribute__(( always_inline )) static inline void __set_PRIMASK(uint32_t priMask) {
127-
__asm volatile ("MSR primask, %0" : : "r" (priMask) : "memory");
128-
}
129-
130120
uint32_t HAL_GetTick(void);
131121
void HAL_Delay(uint32_t Delay);
132122

0 commit comments

Comments
 (0)