Make TX volatge for simu more flexible (#7124)
This commit is contained in:
@@ -697,7 +697,7 @@ void serialPutc(char c) { }
|
|||||||
|
|
||||||
uint16_t getBatteryVoltage()
|
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()
|
void boardOff()
|
||||||
|
|||||||
Reference in New Issue
Block a user