Fix STM32F1 ISR_ENABLED

2.0.x
Scott Lahteine 7 years ago
parent 4832be52d7
commit 9b945c13a1

@ -121,7 +121,7 @@ void HAL_init();
#define CRITICAL_SECTION_START uint32_t primask = __get_primask(); (void)__iCliRetVal()
#define CRITICAL_SECTION_END if (!primask) (void)__iSeiRetVal()
#define ISRS_ENABLED() (!__get_primask)
#define ISRS_ENABLED() (!__get_primask())
#define ENABLE_ISRS() ((void)__iSeiRetVal())
#define DISABLE_ISRS() ((void)__iCliRetVal())

Loading…
Cancel
Save