Hopefully the last async eeprom write bug solved (missing wdt_reset)... Clear Mixes not working
This commit is contained in:
+1
-2
@@ -312,7 +312,6 @@ bool eeDuplicateModel(uint8_t id)
|
||||
while((len=theFile2.read(buf, 15)))
|
||||
{
|
||||
theFile.write(buf, len);
|
||||
wdt_reset(); // TODO I don't know what it is
|
||||
if (errno() != 0) {
|
||||
return false;
|
||||
}
|
||||
@@ -373,7 +372,7 @@ void eeCheck(bool immediately)
|
||||
{
|
||||
#ifdef EEPROM_ASYNC_WRITE
|
||||
if (immediately) {
|
||||
theFile.flush();
|
||||
eeFlush();
|
||||
}
|
||||
if (s_eeDirtyMsk & EE_GENERAL) {
|
||||
s_eeDirtyMsk -= EE_GENERAL;
|
||||
|
||||
Reference in New Issue
Block a user