removed conditional compilation to no longer disable interrupts during EEPROM.comit() for the ESP32
This commit is contained in:
1 parent
b1cd7622e3
commit
08da67f3c6
1 file changed
+2
-2
+2
-2
@@ -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