mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-04 20:48:12 +00:00
RadioLink: update A2=Batt telemetry value
This commit is contained in:
parent
aa5fd82004
commit
2178f6761d
@ -19,7 +19,7 @@
|
|||||||
#define VERSION_MAJOR 1
|
#define VERSION_MAJOR 1
|
||||||
#define VERSION_MINOR 3
|
#define VERSION_MINOR 3
|
||||||
#define VERSION_REVISION 1
|
#define VERSION_REVISION 1
|
||||||
#define VERSION_PATCH_LEVEL 50
|
#define VERSION_PATCH_LEVEL 51
|
||||||
|
|
||||||
//******************
|
//******************
|
||||||
// Protocols
|
// Protocols
|
||||||
|
@ -297,7 +297,7 @@ uint16_t RLINK_callback()
|
|||||||
TX_RSSI += 128;
|
TX_RSSI += 128;
|
||||||
RX_RSSI=packet_in[7]; //Should be packet_in[7]-256 but since it's an uint8_t...
|
RX_RSSI=packet_in[7]; //Should be packet_in[7]-256 but since it's an uint8_t...
|
||||||
v_lipo1=packet_in[8]<<1; //RX Batt
|
v_lipo1=packet_in[8]<<1; //RX Batt
|
||||||
v_lipo2=packet_in[9]<<1; //Batt
|
v_lipo2=packet_in[9]; //Batt
|
||||||
telemetry_link=1; //Send telemetry out
|
telemetry_link=1; //Send telemetry out
|
||||||
pps_counter++;
|
pps_counter++;
|
||||||
packet_count=0;
|
packet_count=0;
|
||||||
|
@ -573,7 +573,7 @@ Surface protocol. TXs: RC4GS,RC6GS. Compatible RXs:R7FG(Std),R6FG,R6F,R8EF,R8FM,
|
|||||||
|
|
||||||
CH1=Steering, CH2=Throttle, CH8=Gyro gain
|
CH1=Steering, CH2=Throttle, CH8=Gyro gain
|
||||||
|
|
||||||
Telemetry: RX_RSSI (for the original value add -256), TX_RSSI, TX_QLY (0..100%), A1=RX_Batt, A2=Batt
|
Telemetry: RX_RSSI (for the original value add -256), TX_RSSI, TX_QLY (0..100%), A1=RX_Batt, A2=Batt/2 (adjust the ratio)
|
||||||
|
|
||||||
### Sub_protocol Air - *1*
|
### Sub_protocol Air - *1*
|
||||||
Air protocol. TXs: T8FB,T8S. Compatible RXs:R8EF,R8FM,R8SM,R4FG,R4F and more
|
Air protocol. TXs: T8FB,T8S. Compatible RXs:R8EF,R8FM,R8SM,R4FG,R4F and more
|
||||||
|
Loading…
x
Reference in New Issue
Block a user