Hopefully the last async eeprom write bug solved (missing wdt_reset)... Clear Mixes not working

This commit is contained in:
bsongis
2011-09-27 10:06:00 +00:00
parent 807e76f112
commit dc0b387b6e
11 changed files with 70 additions and 48 deletions
+1 -2
View File
@@ -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;