removed conditional compilation to no longer disable interrupts during EEPROM.comit() for the ESP32
This commit is contained in:
@@ -809,7 +809,7 @@ void writeEEPROM (unsigned int CV, uint8_t Value)
|
||||
{
|
||||
EEPROM.write (CV, Value) ;
|
||||
|
||||
#if defined(ESP8266) || defined(ESP32)
|
||||
#if defined(ESP8266)
|
||||
noInterrupts();
|
||||
#endif
|
||||
|
||||
@@ -817,7 +817,7 @@ void writeEEPROM (unsigned int CV, uint8_t Value)
|
||||
EEPROM.commit();
|
||||
#endif
|
||||
|
||||
#if defined(ESP8266) || defined(ESP32)
|
||||
#if defined(ESP8266)
|
||||
interrupts();
|
||||
#endif
|
||||
}
|
||||
|
Reference in New Issue
Block a user