Patch from home...

This commit is contained in:
DanielR92 2022-10-04 18:44:27 +02:00
parent 7a941c8882
commit 868012931f
11 changed files with 212 additions and 225 deletions

View file

@ -21,10 +21,7 @@
#ifndef CircularBuffer_h
#define CircularBuffer_h
#ifdef ESP8266
#define DISABLE_IRQ noInterrupts()
#define RESTORE_IRQ interrupts()
#elif defined(ESP32)
#if defined(ESP8266) || defined(ESP32)
#define DISABLE_IRQ noInterrupts()
#define RESTORE_IRQ interrupts()
#else