Skip to content

Commit

Permalink
Swap raw and dash SOC
Browse files Browse the repository at this point in the history
  • Loading branch information
dalathegreat authored Nov 24, 2024
1 parent 9e74fcd commit fd4ea49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Software/src/battery/BMW-I3-BATTERY.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -487,8 +487,8 @@ void update_values_battery() { //This function maps all the values fetched via
}

// Update webserver datalayer
datalayer_extended.bmwi3.SOC_raw = (battery_display_SOC * 50);
datalayer_extended.bmwi3.SOC_dash = (battery_HVBatt_SOC * 10);
datalayer_extended.bmwi3.SOC_raw = (battery_HVBatt_SOC * 10);
datalayer_extended.bmwi3.SOC_dash = (battery_display_SOC * 50);
datalayer_extended.bmwi3.SOC_OBD2 = battery_soc;
datalayer_extended.bmwi3.ST_iso_ext = battery_status_error_isolation_external_Bordnetz;
datalayer_extended.bmwi3.ST_iso_int = battery_status_error_isolation_internal_Bordnetz;
Expand Down

0 comments on commit fd4ea49

Please sign in to comment.