Don't disable interrupts
Not needed as the flow is more less independent
This commit is contained in:
parent
81159fba4e
commit
583bc7f366
@ -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; \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user