Skip to content

Commit

Permalink
Untested Fix to GND Bat cell voltage
Browse files Browse the repository at this point in the history
  • Loading branch information
pilotnbr1 committed Dec 10, 2023
1 parent 1a12fc1 commit fabb364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qml/ui/widgets/GroundPowerWidget.qml
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ BaseWidget {
visible: true
text: {
if (settings.ground_battery_show_single_cell) {
return (_ohdSystemGround.ina219_voltage_millivolt / settings.ground_battery_cells / 1000) + "mVpC";
return (_ohdSystemGround.ina219_voltage_millivolt / settings.ground_battery_cells / 1000).toFixed(2) + "mVpC";
} else {
return (_ohdSystemGround.ina219_voltage_millivolt / 1000).toFixed(2) + "V";
}
Expand Down

0 comments on commit fabb364

Please sign in to comment.