Browse Source

Fix STM32F1 ISR_ENABLED

pull/1/head
Scott Lahteine 7 years ago
parent
commit
9b945c13a1
  1. 2
      Marlin/src/HAL/HAL_STM32F1/HAL.h

2
Marlin/src/HAL/HAL_STM32F1/HAL.h

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