Revert "Bayang: change A1 and A2 back to maximum resolution"

This reverts commit d2886432b7.
This commit is contained in:
pascallanger
2016-12-09 16:51:17 +01:00
parent d2886432b7
commit d3d52b44ee
2 changed files with 9 additions and 41 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]<<7) + (packet[4]>>2);
v_lipo1 = (packet[3]<<6) + (packet[4]>>3);
// compensated battery volts*100/4
v_lipo2 = (packet[5]<<7) + (packet[6]>>2);
v_lipo2 = (packet[5]<<6) + (packet[6]>>3);
// reception in packets / sec
RSSI_dBm = packet[7];
//Flags