Skip to content

Commit

Permalink
Change to use regen allowed value
Browse files Browse the repository at this point in the history
  • Loading branch information
dalathegreat authored Dec 22, 2024
1 parent f8bb4c8 commit 1175283
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Software/src/battery/RENAULT-ZOE-GEN1-BATTERY.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ void update_values_battery() { //This function maps all the values fetched via

datalayer.battery.status.max_discharge_power_W = LB_Discharge_allowed_W;

datalayer.battery.status.max_charge_power_W = LB_Charging_Power_W;
datalayer.battery.status.max_charge_power_W = LB_Regen_allowed_W;

int16_t temperatures[] = {cell_1_temperature_polled, cell_2_temperature_polled, cell_3_temperature_polled,
cell_4_temperature_polled, cell_5_temperature_polled, cell_6_temperature_polled,
Expand Down

0 comments on commit 1175283

Please sign in to comment.