mirror of
https://github.com/tbnobody/OpenDTU.git
synced 2026-03-26 02:48:35 +01:00
Don't disable interrupts
Not needed as the flow is more less independent
This commit is contained in:
@@ -27,8 +27,8 @@
|
||||
#define DISABLE_IRQ noInterrupts()
|
||||
#define RESTORE_IRQ interrupts()
|
||||
#elif ESP32
|
||||
#define DISABLE_IRQ portDISABLE_INTERRUPTS()
|
||||
#define RESTORE_IRQ portENABLE_INTERRUPTS()
|
||||
#define DISABLE_IRQ ;
|
||||
#define RESTORE_IRQ ;
|
||||
#else
|
||||
#define DISABLE_IRQ \
|
||||
uint8_t sreg = SREG; \
|
||||
|
||||
Reference in New Issue
Block a user