1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-24 00:35:18 +03:00

[Horus] Cosmetics

This commit is contained in:
Bertrand Songis 2016-03-09 18:57:18 +01:00
parent f75fedcb0d
commit 3b2524dcbb
2 changed files with 2 additions and 2 deletions

View file

@ -264,9 +264,8 @@ void getTimerString(char * str, putstime_t tme, LcdFlags att)
void putsTimer(coord_t x, coord_t y, putstime_t tme, LcdFlags att)
{
char str[10]; // "-00:00:00"
char str[LEN_TIMER_STRING]; // "-00:00:00"
getTimerString(str, tme, att);
att &= ~LEFT;
lcdDrawText(x, y, str, att);
}

View file

@ -134,6 +134,7 @@ void putsTelemetryChannelValue(coord_t x, coord_t y, uint8_t channel, int32_t va
#define putstime_t int32_t
#define LEN_TIMER_STRING 10
void getTimerString(char * str, putstime_t tme, LcdFlags att=0);
void putsRtcTime(coord_t x, coord_t y, LcdFlags att=0);
void putsTimer(coord_t x, coord_t y, putstime_t tme, LcdFlags att=0);