mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-04 18:38:13 +00:00
Update Devo_cyrf6936.ino
This commit is contained in:
parent
7b58b9aca0
commit
48e82304a0
@ -276,6 +276,7 @@ static void __attribute__((unused)) DEVO_parse_telemetry_packet()
|
||||
val32 = DEVO_text_to_int(&packet[34], 2) * 10000 + DEVO_text_to_int(&packet[6], 4); // mmmmmm
|
||||
if(option&0x02) // if RX705 GPS format
|
||||
val32 = (val32*3)/5; // then * 6/10 correction
|
||||
dec = val32/10000;
|
||||
val = val + dec; // dddmm
|
||||
frsky_send_user_frame(0x13 , val, val>>8);
|
||||
val = val32 - dec*10000; // .mmmm
|
||||
|
Loading…
x
Reference in New Issue
Block a user