The device reports raw ADC values, which mean AltosLib needs to
translate them.
Signed-off-by: Keith Packard <keithp@keithp.com>
return AltosLib.MISSING;
double volts = AltosLib.MISSING;
- if (config_data.product.startsWith("TeleBT-v3")) {
+ if (config_data.product.startsWith("TeleBT-v3") || config_data.product.startsWith("TeleBT-v4")) {
volts = AltosConvert.tele_bt_3_battery(monitor_batt);
} else {
volts = AltosConvert.cc_battery_to_voltage(monitor_batt);