Merge pull request #1544 from opentx/projectkk2glider/tx_time_optimization

RTC time related optimizations
This commit is contained in:
Bertrand Songis
2014-08-14 21:39:35 +02:00
7 changed files with 21 additions and 23 deletions
+1 -3
View File
@@ -347,9 +347,7 @@ void displayTopBar()
LCD_ICON(BAR_VOLUME_X, BAR_Y, ICON_SPEAKER3);
/* RTC time */
struct gtm t;
gettime(&t);
putsTime(BAR_TIME_X, BAR_Y+1, t, LEFT|TIMEBLINK);
putsRtcTime(BAR_TIME_X, BAR_Y+1, LEFT|TIMEBLINK);
/* The background */
lcd_filled_rect(BAR_X, BAR_Y, BAR_W, BAR_H, SOLID, FILL_WHITE|GREY(12)|ROUND);