mirror of
https://github.com/thelsing/knx.git
synced 2025-08-13 13:46:20 +02:00
fix an issue that eeprom data won't actually saved to flash if EEPROM used out of the library, always make eeprom dirty before commit
This commit is contained in:
parent
a82fb82110
commit
a967dbe24a
@ -90,6 +90,7 @@ uint8_t * Esp32Platform::getEepromBuffer(uint16_t size)
|
|||||||
|
|
||||||
void Esp32Platform::commitToEeprom()
|
void Esp32Platform::commitToEeprom()
|
||||||
{
|
{
|
||||||
|
EEPROM.getDataPtr();//make eeprom dirty again
|
||||||
EEPROM.commit();
|
EEPROM.commit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user