[sky9x + gruvin9x] Remanent timers
[sky9x] Timer since last charge [sky9x] Massstorage (not working at this moment) [sky9x] Debug Thread [stock] Flash saving
This commit is contained in:
@@ -870,6 +870,14 @@ void eeLoadModel(uint8_t id)
|
||||
|
||||
resetProto();
|
||||
resetAll();
|
||||
|
||||
#if defined(PCBV4)
|
||||
for (uint8_t i=0; i<MAX_TIMERS; i++) {
|
||||
if (g_model.timersXtra[i].remanent) {
|
||||
s_timerVal[i] = g_model.timersXtra[i].value;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user