Another 16bytes flash saved
This commit is contained in:
+2
-3
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user