1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00

LP-183 drive by bug fixing in Panels.qml and Compass.qml

This commit is contained in:
Philippe Renon 2015-12-02 22:17:47 +01:00
parent d33747e065
commit 26a4c027c7
2 changed files with 2 additions and 4 deletions

View File

@ -75,8 +75,7 @@ Item {
transformOrigin: Item.Center
smooth: true
// FIXME : why test endEast twice?
visible: ((pathDesired.endEast != 0.0) && (pathDesired.endEast != 0.0))
visible: ((pathDesired.endEast != 0.0) && (pathDesired.endNorth != 0.0))
}

View File

@ -101,8 +101,7 @@ Item {
// Hack : check if telemetry is active. Works with real link and log replay
function telemetry_check() {
// FIXME : why rxRate + rxRate?
telemetry_sum = opLinkStatus.rxRate + opLinkStatus.rxRate
telemetry_sum = opLinkStatus.rxRate + opLinkStatus.txRate
if (telemetry_sum != telemetry_sum_old || (opLinkStatus.linkState == LinkState.Connected)) {
telemetry_link = 1