We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29c92a4 commit 3475b04Copy full SHA for 3475b04
1 file changed
teensy/teensy_hal.h
@@ -117,16 +117,6 @@ __attribute__(( always_inline )) static inline void __WFI(void) {
117
__asm volatile ("wfi");
118
}
119
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
130
uint32_t HAL_GetTick(void);
131
void HAL_Delay(uint32_t Delay);
132
0 commit comments