removed conditional compilation to no longer disable interrupts during EEPROM.comit() for the ESP32

This commit is contained in:
Alex Shepherd
2023-07-13 21:11:10 +12:00
parent b1cd7622e3
commit 08da67f3c6

View File

@@ -809,7 +809,7 @@ void writeEEPROM (unsigned int CV, uint8_t Value)
{ {
EEPROM.write (CV, Value) ; EEPROM.write (CV, Value) ;
#if defined(ESP8266) || defined(ESP32) #if defined(ESP8266)
noInterrupts(); noInterrupts();
#endif #endif
@@ -817,7 +817,7 @@ void writeEEPROM (unsigned int CV, uint8_t Value)
EEPROM.commit(); EEPROM.commit();
#endif #endif
#if defined(ESP8266) || defined(ESP32) #if defined(ESP8266)
interrupts(); interrupts();
#endif #endif
} }