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:
parent
d33747e065
commit
26a4c027c7
@ -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))
|
||||
}
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user