Fixes #1415
This commit is contained in:
@@ -49,7 +49,7 @@ void menuStatisticsView(uint8_t event)
|
|||||||
#if defined(PCBTARANIS)
|
#if defined(PCBTARANIS)
|
||||||
case EVT_KEY_LONG(KEY_MENU):
|
case EVT_KEY_LONG(KEY_MENU):
|
||||||
g_eeGeneral.globalTimer = 0;
|
g_eeGeneral.globalTimer = 0;
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
case EVT_KEY_FIRST(KEY_EXIT):
|
case EVT_KEY_FIRST(KEY_EXIT):
|
||||||
chainMenu(menuMainView);
|
chainMenu(menuMainView);
|
||||||
@@ -66,7 +66,7 @@ void menuStatisticsView(uint8_t event)
|
|||||||
putsTimer( 12*FW+5*FWNUM+1, FH*0, s_timeCumTot, 0, 0);
|
putsTimer( 12*FW+5*FWNUM+1, FH*0, s_timeCumTot, 0, 0);
|
||||||
|
|
||||||
#if defined(PCBTARANIS)
|
#if defined(PCBTARANIS)
|
||||||
putsTimer(21*FW+5*FWNUM+1, 0*FH, g_eeGeneral.globalTimer + sessionTimer, 0, 0);
|
putsTimer(21*FW+5*FWNUM+1, 0*FH, g_eeGeneral.globalTimer + sessionTimer, TIMEHOUR, 0);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(THRTRACE)
|
#if defined(THRTRACE)
|
||||||
|
|||||||
+4
-1
@@ -983,7 +983,10 @@ void putsTimer(xcoord_t x, uint8_t y, putstime_t tme, LcdFlags att, LcdFlags att
|
|||||||
lcd_outdezNAtt(x, y, qr2.quot, att|LEADING0|LEFT, 2);
|
lcd_outdezNAtt(x, y, qr2.quot, att|LEADING0|LEFT, 2);
|
||||||
lcd_putcAtt(lcdLastPos, y, separator, att&att2);
|
lcd_putcAtt(lcdLastPos, y, separator, att&att2);
|
||||||
qr.quot = qr2.rem;
|
qr.quot = qr2.rem;
|
||||||
x += 2*8+1;
|
if (att & MIDSIZE)
|
||||||
|
x += 17;
|
||||||
|
else
|
||||||
|
x += 13;
|
||||||
}
|
}
|
||||||
#elif defined(CPUARM)
|
#elif defined(CPUARM)
|
||||||
char separator = ':';
|
char separator = ':';
|
||||||
|
|||||||
Reference in New Issue
Block a user