1
0
Fork 0
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:
bsongis 2012-02-05 19:01:28 +00:00
parent fa1ebafae4
commit f42596a2a7
2 changed files with 2 additions and 4 deletions

View file

@ -85,9 +85,8 @@ void doMainScreenGrphics()
void displayAltitudeLine(uint8_t x, uint8_t y, uint8_t flags)
{
lcd_puts_P(x, y, STR_ALT);
uint16_t value = frskyHubData.baroAltitude + baroAltitudeOffset;
lcd_outdezAtt(lcd_lastPos, (flags & DBLSIZE) ? y-FH : y, value, flags|LEFT|UNSIGN);
lcd_putc(lcd_lastPos, y, 'm') ;
int16_t value = frskyHubData.baroAltitude + baroAltitudeOffset;
putsTelemetryValue(lcd_lastPos, y, value, UNIT_METERS, flags|LEFT);
}
#endif

View file

@ -1430,7 +1430,6 @@ void perMain()
if (!tick10ms) return; //make sure the rest happen only every 10ms.
uint16_t val;
if (g_model.thrTraceSrc == 0) {