mirror of
https://github.com/bleackstorm/SteamFrame-FPV-Control-Center.git
synced 2026-12-03 07:31:57 +01:00
fix(android,telemetry,radxa): synchronize JNI handle lifecycle, add MediaCodec fallback, ignore MAVLink rssi=0, and deploy CDC-ECM gadget in setup script
This commit is contained in:
1 parent
a6ba4e5140
commit
cefbad47e9
4 files changed
+105
-31
No files matched your search
@@ -247,9 +247,9 @@ impl TelemetryReceiver {
|
||||
}
|
||||
}
|
||||
109 => {
|
||||
// MAVLink RADIO_STATUS: 255 = valeur inconnue
|
||||
// MAVLink RADIO_STATUS: 0 ou 255 = valeur inconnue / non renseignée (évite d'écraser le LQ CRSF ELRS par 0 %)
|
||||
let rssi = padded[4];
|
||||
if rssi != u8::MAX {
|
||||
if rssi > 0 && rssi != u8::MAX {
|
||||
st.link_quality_pct = rssi.min(100);
|
||||
}
|
||||
let remrssi = padded[5];
|
||||
|
||||
Reference in new issue
Block a user