Merge pull request #180 from ohmytime/Bugfix

This commit is contained in:
Sjef Verhoeven PE5PVB
2023-08-03 17:03:53 +02:00
committed by GitHub
+2
View File
@@ -5085,6 +5085,7 @@ void ShowBattery() {
batteryold = battery; batteryold = battery;
} }
if (!advancedRDS && !afscreen) {
if (batteryoptions > BATTERY_NONE) { if (batteryoptions > BATTERY_NONE) {
batteryV = ((float)v / 4095.0) * 2.0 * 3.3 * (vref / 1000.0); batteryV = ((float)v / 4095.0) * 2.0 * 3.3 * (vref / 1000.0);
if (batteryoptions == BATTERY_VALUE){ if (batteryoptions == BATTERY_VALUE){
@@ -5109,6 +5110,7 @@ void ShowBattery() {
} }
} }
} }
}
void Communication() { void Communication() {
if (menu == false) { if (menu == false) {