Make TX volatge for simu more flexible (#7124)

This commit is contained in:
3djc
2019-11-28 14:10:28 +01:00
committed by Bertrand Songis
parent 573c63c713
commit 29c56cc5b7
+1 -1
View File
@@ -697,7 +697,7 @@ void serialPutc(char c) { }
uint16_t getBatteryVoltage()
{
return (BATTERY_MAX + BATTERY_WARN) * 5;
return (g_eeGeneral.vBatWarn * 10) + 50; // 0.5 volt above alerm (value is PREC1)
}
void boardOff()