mirror of
https://github.com/opentx/opentx.git
synced 2025-07-26 17:55:19 +03:00
Another 16bytes flash saved
This commit is contained in:
parent
fa1ebafae4
commit
f42596a2a7
2 changed files with 2 additions and 4 deletions
|
@ -85,9 +85,8 @@ void doMainScreenGrphics()
|
||||||
void displayAltitudeLine(uint8_t x, uint8_t y, uint8_t flags)
|
void displayAltitudeLine(uint8_t x, uint8_t y, uint8_t flags)
|
||||||
{
|
{
|
||||||
lcd_puts_P(x, y, STR_ALT);
|
lcd_puts_P(x, y, STR_ALT);
|
||||||
uint16_t value = frskyHubData.baroAltitude + baroAltitudeOffset;
|
int16_t value = frskyHubData.baroAltitude + baroAltitudeOffset;
|
||||||
lcd_outdezAtt(lcd_lastPos, (flags & DBLSIZE) ? y-FH : y, value, flags|LEFT|UNSIGN);
|
putsTelemetryValue(lcd_lastPos, y, value, UNIT_METERS, flags|LEFT);
|
||||||
lcd_putc(lcd_lastPos, y, 'm') ;
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -1430,7 +1430,6 @@ void perMain()
|
||||||
|
|
||||||
if (!tick10ms) return; //make sure the rest happen only every 10ms.
|
if (!tick10ms) return; //make sure the rest happen only every 10ms.
|
||||||
|
|
||||||
|
|
||||||
uint16_t val;
|
uint16_t val;
|
||||||
|
|
||||||
if (g_model.thrTraceSrc == 0) {
|
if (g_model.thrTraceSrc == 0) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue