File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ BaseWidget {
185
185
Text {
186
186
id: battery_amp_text
187
187
visible: settings .ground_battery_show_voltage_current
188
- text: Number ((OpenHD .ground_iout < 0 ? 0 : OpenHD .ground_iout ) / 100 .0 ).toLocaleString (
188
+ text: Number ((OpenHD .ground_iout < 0 ? 0 : OpenHD .ground_iout ) / 1000 .0 ).toLocaleString (
189
189
Qt .locale (), ' f' , 1 ) + " A"
190
190
color: settings .color_text
191
191
anchors .bottom : battery_percent .top
@@ -204,9 +204,9 @@ BaseWidget {
204
204
id: battery_volt_text
205
205
visible: settings .ground_battery_show_voltage_current
206
206
text: settings .ground_battery_show_single_cell ? Number (
207
- ((OpenHD .ground_vbat < 0 ? 0 : OpenHD .ground_vbat )) / settings .ground_battery_cells ).toLocaleString (
207
+ ((OpenHD .ground_vbat < 0 ? 0 : OpenHD .ground_vbat / 1000.0 )) / settings .ground_battery_cells ).toLocaleString (
208
208
Qt .locale (),
209
- ' f' , 1 ) + " V" : Number ((OpenHD .ground_vbat < 0 ? 0 : OpenHD .ground_vbat )).toLocaleString (
209
+ ' f' , 1 ) + " V" : Number ((OpenHD .ground_vbat < 0 ? 0 : OpenHD .ground_vbat / 1000.0 )).toLocaleString (
210
210
Qt .locale (),
211
211
' f' , 1 ) + " V"
212
212
color: settings .color_text
You can’t perform that action at this time.
0 commit comments