diff --git a/radio/src/gui/view_statistics.cpp b/radio/src/gui/view_statistics.cpp index 99b0e032a..a18c55041 100644 --- a/radio/src/gui/view_statistics.cpp +++ b/radio/src/gui/view_statistics.cpp @@ -49,7 +49,7 @@ void menuStatisticsView(uint8_t event) #if defined(PCBTARANIS) case EVT_KEY_LONG(KEY_MENU): g_eeGeneral.globalTimer = 0; - break; + break; #endif case EVT_KEY_FIRST(KEY_EXIT): chainMenu(menuMainView); @@ -66,7 +66,7 @@ void menuStatisticsView(uint8_t event) putsTimer( 12*FW+5*FWNUM+1, FH*0, s_timeCumTot, 0, 0); #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 #if defined(THRTRACE) diff --git a/radio/src/lcd.cpp b/radio/src/lcd.cpp index 4c3b358d1..9ad77582c 100644 --- a/radio/src/lcd.cpp +++ b/radio/src/lcd.cpp @@ -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_putcAtt(lcdLastPos, y, separator, att&att2); qr.quot = qr2.rem; - x += 2*8+1; + if (att & MIDSIZE) + x += 17; + else + x += 13; } #elif defined(CPUARM) char separator = ':';