1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-25 17:25:13 +03:00

RSSI alarms are now stored in ModelData. Alarms disabled on Quiet mode, re-enabled when not Quiet mode.

This commit is contained in:
bsongis 2012-02-16 17:55:23 +00:00
parent e7e7a6ca97
commit 03fd1e3b01
12 changed files with 61 additions and 38 deletions

View file

@ -109,7 +109,7 @@ void displayRssiLine()
#if defined(FRSKY_HUB) || defined(WS_HOW_HIGH)
void displayAltitudeLine(uint8_t x, uint8_t y, uint8_t flags)
{
lcd_putsn_P(x, y, STR_ALTnDST, 4);
lcd_putsn(x, y, STR_ALTnDST, 4);
int16_t value = frskyHubData.baroAltitude + frskyHubData.baroAltitudeOffset;
putsTelemetryValue(lcd_lastPos, y, value, UNIT_METERS, flags|LEFT);
}
@ -558,10 +558,10 @@ void menuMainView(uint8_t event)
}
}
y0+=FH;
lcd_puts(2*FW-3, y0, STR_RX);
lcd_outdezAtt(5*FW-3, y0, frskyRSSI[0].value, LEFT);
lcd_puts(12*FW-3, y0, STR_TX);
lcd_outdezAtt(15*FW-3, y0, frskyRSSI[1].value, LEFT);
lcd_puts(2*FW-3, y0, STR_TX);
lcd_outdezAtt(5*FW-3, y0, frskyRSSI[1].value, LEFT);
lcd_puts(12*FW-3, y0, STR_RX);
lcd_outdezAtt(15*FW-3, y0, frskyRSSI[0].value, LEFT);
}
}
else {