1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-23 16:25:16 +03:00

Top bar time colon now blinks "correctly", some people seemed to be confused by it...

This commit is contained in:
Andre Bernet 2014-02-21 22:55:04 +01:00
parent 0602a550d7
commit 3f14d6a066

View file

@ -318,7 +318,7 @@ void displayTopBar()
/* RTC time */ /* RTC time */
struct gtm t; struct gtm t;
gettime(&t); gettime(&t);
lcd_putcAtt(BAR_TIME_X+1, BAR_Y+1, ':', BLINK); lcd_putcAtt(BAR_TIME_X+1, BAR_Y+1, t.tm_sec%2 ? ':' : ' ', 0);
lcd_outdezNAtt(BAR_TIME_X+1, BAR_Y+1, t.tm_hour, LEADING0, 2); lcd_outdezNAtt(BAR_TIME_X+1, BAR_Y+1, t.tm_hour, LEADING0, 2);
lcd_outdezNAtt(BAR_TIME_X+3*FWNUM-1, BAR_Y+1, t.tm_min, LEADING0, 2); lcd_outdezNAtt(BAR_TIME_X+3*FWNUM-1, BAR_Y+1, t.tm_min, LEADING0, 2);