Cosmetics
This commit is contained in:
Bertrand Songis
2019-06-17 16:09:09 +02:00
committed by GitHub
parent 170a8ff996
commit 6516029fd1
26 changed files with 72 additions and 84 deletions
+1 -1
View File
@@ -250,7 +250,7 @@ void drawRtcTime(coord_t x, coord_t y, LcdFlags flags)
drawTimer(x, y, getValue(MIXSRC_TX_TIME), flags);
}
void drawTimer(coord_t x, coord_t y, putstime_t tme, LcdFlags flags)
void drawTimer(coord_t x, coord_t y, int32_t tme, LcdFlags flags)
{
char str[LEN_TIMER_STRING];
getTimerString(str, tme, (flags & TIMEHOUR) != 0);
-2
View File
@@ -32,8 +32,6 @@
#define CENTER
#define lcdint_t int32_t
/* lcd common flags */
#define BLINK 0x01
+1 -1
View File
@@ -231,7 +231,7 @@ bool menuStatsTraces(event_t event)
const struct TraceElement * te = getTraceElement(k);
if (te) {
// time
putstime_t tme = te->time % SECS_PER_DAY;
int32_t tme = te->time % SECS_PER_DAY;
drawTimer(STATS_TRACES_TIME_POS, y, tme, TIMEHOUR|LEFT);
// event
lcdDrawNumber(STATS_TRACES_EVENT_POS, y, te->event, LEADING0|LEFT, 3);