Fix STM32F1 ISR_ENABLED

This commit is contained in:
Scott Lahteine 2018-06-11 22:09:36 -05:00
parent 4832be52d7
commit 9b945c13a1

View file

@ -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())