mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-04 20:48:12 +00:00
WFLYRF: added ext voltage to A2
This commit is contained in:
parent
b01462e36b
commit
088bfb9c2f
@ -135,6 +135,7 @@ static void __attribute__((unused)) WFLYRF_build_packet()
|
|||||||
{
|
{
|
||||||
//Incoming packet values
|
//Incoming packet values
|
||||||
v_lipo1=packet[3]<<1; // RX_batt*10 in V
|
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
|
RX_RSSI=(255-packet[7])>>1; // Looks to be the RX RSSI value direct from A7105
|
||||||
|
|
||||||
// Read TX RSSI
|
// Read TX RSSI
|
||||||
|
Loading…
x
Reference in New Issue
Block a user