🐛 Fix STM32F1 HAL build (#23897)

Followup to #23357
This commit is contained in:
Julien Staub
2022-03-13 23:11:31 +01:00
committed by GitHub
parent de87f5309d
commit 40ed3c5f89

View File

@@ -177,7 +177,7 @@ typedef int8_t pin_t;
// ------------------------
#define CRITICAL_SECTION_START() const bool irqon = !__get_primask(); (void)__iCliRetVal()
#define CRITICAL_SECTION_END() if (!primask) (void)__iSeiRetVal()
#define CRITICAL_SECTION_END() if (!irqon) (void)__iSeiRetVal()
#define cli() noInterrupts()
#define sei() interrupts()