Skip to content

Commit

Permalink
Untested Fix to GND Bat cell voltage (#631)
Browse files Browse the repository at this point in the history
Co-authored-by: pilotnbr1 <pilotnbr1@hotmail.com>
  • Loading branch information
raphaelscholle and pilotnbr1 authored Dec 10, 2023
1 parent 5b6118d commit 79437cd
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 79437cd

Please sign in to comment.