WFLYRF: added ext voltage to A2

This commit is contained in:
Pascal Langer 2020-12-11 10:57:14 +01:00
parent b01462e36b
commit 088bfb9c2f

View File

@ -135,6 +135,7 @@ static void __attribute__((unused)) WFLYRF_build_packet()
{
//Incoming packet values
v_lipo1=packet[3]<<1; // RX_batt*10 in V
v_lipo2=packet[5]<<1; // Ext_batt*10 in V
RX_RSSI=(255-packet[7])>>1; // Looks to be the RX RSSI value direct from A7105
// Read TX RSSI