mirror of
https://github.com/opentx/opentx.git
synced 2025-07-20 14:55:13 +03:00
Do not use color coded RSSI alarms on Taranis/Horus prints (#4253)
* Do not use color coded RSSI alarms on Taranis/Horus prints * Cosmetics (yes, again :s)
This commit is contained in:
parent
b84398bcc7
commit
38c7f1c7d3
1 changed files with 7 additions and 2 deletions
|
@ -559,7 +559,12 @@ QString MultiModelPrinter::printTelemetry()
|
|||
columns.append("<table border='0' cellspacing='0' cellpadding='1' width='100%'>");
|
||||
for (int i=0; i<2; i++) {
|
||||
columns.append("<tr><td><b>" + QString(i==0 ? tr("RSSI Alarms") : "") + "</b></td><td>");
|
||||
COMPARE(getFrSkyAlarmType(model->frsky.rssiAlarms[i].level));
|
||||
if (IS_HORUS_OR_TARANIS(GetEepromInterface()->getBoard())) {
|
||||
COMPARE(i==0 ? tr("Low Alarm") : tr("Critical Alarm"));
|
||||
}
|
||||
else {
|
||||
COMPARE(getFrSkyAlarmType(model->frsky.rssiAlarms[i].level));
|
||||
}
|
||||
columns.append("</td><td><</td><td>");
|
||||
COMPARE(QString::number(model->frsky.rssiAlarms[i].value, 10));
|
||||
columns.append("</td></tr>");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue