mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-04 22:28:12 +00:00
MT99XX/Dragon: batt telemetry correction & low batt flag
This commit is contained in:
parent
a9d9c4cdfa
commit
34f16b0b66
@ -389,7 +389,8 @@ uint16_t MT99XX_callback()
|
|||||||
if(packet_in[8] == check && packet_in[0] == rx_tx_addr[0] && packet_in[1] == rx_tx_addr[1] && packet_in[2] == rx_tx_addr[2])
|
if(packet_in[8] == check && packet_in[0] == rx_tx_addr[0] && packet_in[1] == rx_tx_addr[1] && packet_in[2] == rx_tx_addr[2])
|
||||||
{ // checksum and address are ok
|
{ // checksum and address are ok
|
||||||
// debug(" OK");
|
// debug(" OK");
|
||||||
v_lipo1 = packet_in[3];
|
v_lipo1 = packet_in[3] & 0x7F; // Batt
|
||||||
|
v_lipo2 = packet_in[3] & 0x80; // Low batt flag
|
||||||
RX_RSSI=100;
|
RX_RSSI=100;
|
||||||
telemetry_link = 1;
|
telemetry_link = 1;
|
||||||
}
|
}
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
#define VERSION_MAJOR 1
|
#define VERSION_MAJOR 1
|
||||||
#define VERSION_MINOR 3
|
#define VERSION_MINOR 3
|
||||||
#define VERSION_REVISION 2
|
#define VERSION_REVISION 2
|
||||||
#define VERSION_PATCH_LEVEL 74
|
#define VERSION_PATCH_LEVEL 75
|
||||||
|
|
||||||
#define MODE_SERIAL 0
|
#define MODE_SERIAL 0
|
||||||
|
|
||||||
|
@ -1085,7 +1085,7 @@ A|E|T|R|3D6G
|
|||||||
### Sub_protocol DRAGON - *6*
|
### Sub_protocol DRAGON - *6*
|
||||||
Model: Eachine Mini Wing Dragon
|
Model: Eachine Mini Wing Dragon
|
||||||
|
|
||||||
Telemetry is supported: A1 = battery voltage with a Ratio of 25.5, RSSI = dummy value of 100
|
Telemetry is supported: A1 = battery voltage with a Ratio of 25.5, A2=battery low flag (0=off,>0=on) and RSSI = dummy value of 100
|
||||||
|
|
||||||
CH1|CH2|CH3|CH4|CH5|CH6
|
CH1|CH2|CH3|CH4|CH5|CH6
|
||||||
---|---|---|---|---|---
|
---|---|---|---|---|---
|
||||||
|
Loading…
x
Reference in New Issue
Block a user