[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:
bsongis
2012-09-08 13:49:51 +00:00
parent fdb2b937f1
commit 03a1517531
21 changed files with 591 additions and 362 deletions
+6
View File
@@ -72,6 +72,8 @@ void doMainScreenGrphics()
}
}
extern char usbState;
void menuMainView(uint8_t event)
{
uint8_t view = g_eeGeneral.view;
@@ -208,6 +210,10 @@ void menuMainView(uint8_t event)
if (unexpectedShutdown) {
lcd_putcAtt(20*FW-3, 0*FH, '!', INVERS);
}
#if defined(PCBARM)
if (usbState >= '0')
lcd_putcAtt(20*FW-3, 0*FH, usbState, INVERS);
#endif
if (g_model.timers[0].mode) {
uint8_t att = DBLSIZE | (s_timerState[0]==TMR_BEEPING ? BLINK|INVERS : 0);