mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-03-15 07:29:15 +01:00
OP-1435 Add_more_info_PFD : Smeter jitter free when OPLink is really connected
This commit is contained in:
parent
ac16c2722c
commit
956e5ad9d0
@ -82,10 +82,11 @@ Item {
|
||||
property bool telemetry_link
|
||||
|
||||
// Hack : check if telemetry is active. Works with real link and log replay
|
||||
|
||||
function telemetry_check(){
|
||||
telemetry_sum = OPLinkStatus.RXRate + OPLinkStatus.RXRate
|
||||
|
||||
if (telemetry_sum != telemetry_sum_old){
|
||||
if (telemetry_sum != telemetry_sum_old || OPLinkStatus.LinkState == 4){
|
||||
telemetry_link = 1
|
||||
} else {
|
||||
telemetry_link = 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user