RadioLink: update A2=Batt telemetry value

This commit is contained in:
Pascal Langer
2020-08-07 15:11:59 +02:00
parent aa5fd82004
commit 2178f6761d
3 changed files with 3 additions and 3 deletions

View File

@@ -19,7 +19,7 @@
#define VERSION_MAJOR 1
#define VERSION_MINOR 3
#define VERSION_REVISION 1
#define VERSION_PATCH_LEVEL 50
#define VERSION_PATCH_LEVEL 51
//******************
// Protocols

View File

@@ -297,7 +297,7 @@ uint16_t RLINK_callback()
TX_RSSI += 128;
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_lipo2=packet_in[9]<<1; //Batt
v_lipo2=packet_in[9]; //Batt
telemetry_link=1; //Send telemetry out
pps_counter++;
packet_count=0;