Bayang: change A1 and A2 back to maximum resolution

This commit is contained in:
pascallanger
2016-12-09 16:50:56 +01:00
parent 3904c36a6e
commit d2886432b7
2 changed files with 41 additions and 9 deletions

View File

@@ -146,9 +146,9 @@ static void __attribute__((unused)) check_rx(void)
if (packet[0] == 0x85 && packet[14] == check)
{
// uncompensated battery volts*100/4
v_lipo1 = (packet[3]<<6) + (packet[4]>>3);
v_lipo1 = (packet[3]<<7) + (packet[4]>>2);
// compensated battery volts*100/4
v_lipo2 = (packet[5]<<6) + (packet[6]>>3);
v_lipo2 = (packet[5]<<7) + (packet[6]>>2);
// reception in packets / sec
RSSI_dBm = packet[7];
//Flags