Closed jonadem closed 4 years ago
Looks good! Will be tested today.
Seems to work for reading/writing EEPROM but breaks the LCD at some point for a yet unknown reason.
Seems to work for reading/writing EEPROM but breaks the LCD at some point for a yet unknown reason.
Probably due to disabling interrupts for too long. (Maybe try without the taskEnterCritical / taskExitCritical ?)
Seems to work for reading/writing EEPROM but breaks the LCD at some point for a yet unknown reason.
Probably due to disabling interrupts for too long. (Maybe try without the taskEnterCritical / taskExitCritical ?)
I will. But for now I'm struggling to reproduce the bug while I haven't changed anything. Weird.
To test it, it is easier to change WRITE_EEPROM_PERIOD_MS from "3000 1000L" to "5 1000L".
incrementCyclesNumber() need to be called from another task (and the current call need to be removed [there is a FIXME]).