mirror of
https://github.com/opentx/opentx.git
synced 2025-07-24 00:35:18 +03:00
[Horus] Cosmetics
This commit is contained in:
parent
f75fedcb0d
commit
3b2524dcbb
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue