mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-10 09:01:55 +01:00
Marstek B2500: Fix wrong gauge display for panel 2 and output 2
This commit is contained in:
parent
8aa7df3aeb
commit
122108ec6d
@ -1,5 +1,8 @@
|
||||
### Changelog
|
||||
|
||||
#### Next
|
||||
* Marstek B2500: Fix wrong gauge display for panel 2 and output 2
|
||||
|
||||
#### 0.83.0
|
||||
* Add first start onboarding screen
|
||||
* Initial support for Bowers and Wilkins P Series
|
||||
|
@ -70,9 +70,9 @@ public class SolarEquipmentStatusActivity extends AbstractGBActivity {
|
||||
int output2_watt = extras.getInt(EXTRA_OUTPUT2_WATT);
|
||||
updateWidget("battery", battery_pct + "%", (float) (battery_pct / 100.0));
|
||||
updateWidget("panel1", panel1_watt + "W", (float) (panel1_watt / 380.0));
|
||||
updateWidget("panel2", panel2_watt + "W", (float) (panel1_watt / 380.0));
|
||||
updateWidget("panel2", panel2_watt + "W", (float) (panel2_watt / 380.0));
|
||||
updateWidget("output1", output1_watt + "W", (float) (output1_watt / 400.0));
|
||||
updateWidget("output2", output2_watt + "W", (float) (output1_watt / 400.0));
|
||||
updateWidget("output2", output2_watt + "W", (float) (output2_watt / 400.0));
|
||||
|
||||
swipeLayout.setRefreshing(false);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user