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) ;
|
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
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user