[Companion] Compilation fixes

This commit is contained in:
Bertrand Songis
2017-01-18 15:32:16 +01:00
parent 1924d28be3
commit 01a4470e23
2 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -559,7 +559,7 @@ 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>");
if (IS_HORUS_OR_TARANIS(GetEepromInterface()->getBoard())) {
if (IS_HORUS_OR_TARANIS(getCurrentBoard())) {
COMPARE(i==0 ? tr("Low Alarm") : tr("Critical Alarm"));
}
else {