Issue #469 fixed (Telemetry tab in Companion rewritten - 20% code

removed). More tests needed!
This commit is contained in:
Bertrand Songis
2014-01-31 09:40:34 +01:00
parent 59d8653b61
commit ce2b033ccb
10 changed files with 479 additions and 1709 deletions
+2 -1
View File
@@ -796,7 +796,7 @@ void printDialog::printFrSky()
str.append("<tr><td colspan=2 align=\"Left\"><b>"+tr("System of units")+"</b></td><td colspan=8 align=\"left\">"+getFrSkyMeasure(fd->imperial)+"</td></tr>");
str.append("<tr><td colspan=2 align=\"Left\"><b>"+tr("Propeller blades")+"</b></td><td colspan=8 align=\"left\">"+getFrSkyBlades(fd->blades)+"</td></tr>");
str.append("<tr><td colspan=10 align=\"Left\" height=\"4px\"></td></tr></table>");
#if 0
if (GetEepromInterface()->getCapability(TelemetryBars) || (GetEepromInterface()->getCapability(TelemetryCSFields))) {
int cols=GetEepromInterface()->getCapability(TelemetryColsCSFields);
if (cols==0) cols=2;
@@ -840,6 +840,7 @@ void printDialog::printFrSky()
}
}
}
#endif
if (tc>0)
te->append(str);
}