Skip to content
Snippets Groups Projects
Commit 9b945c13 authored by Scott Lahteine's avatar Scott Lahteine
Browse files

Fix STM32F1 ISR_ENABLED

parent 4832be52
Branches
Tags
No related merge requests found
...@@ -121,7 +121,7 @@ void HAL_init(); ...@@ -121,7 +121,7 @@ void HAL_init();
#define CRITICAL_SECTION_START uint32_t primask = __get_primask(); (void)__iCliRetVal() #define CRITICAL_SECTION_START uint32_t primask = __get_primask(); (void)__iCliRetVal()
#define CRITICAL_SECTION_END if (!primask) (void)__iSeiRetVal() #define CRITICAL_SECTION_END if (!primask) (void)__iSeiRetVal()
#define ISRS_ENABLED() (!__get_primask) #define ISRS_ENABLED() (!__get_primask())
#define ENABLE_ISRS() ((void)__iSeiRetVal()) #define ENABLE_ISRS() ((void)__iSeiRetVal())
#define DISABLE_ISRS() ((void)__iCliRetVal()) #define DISABLE_ISRS() ((void)__iCliRetVal())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment