Skip to content

Commit 80afff7

Browse files
author
Bjoern Schmidt
committed
2 parents eb163f7 + aa04213 commit 80afff7

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

ACAcontrollerState.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ void controllerstate_init(void) {
147147
ui16_battery_current_max_value = BATTERY_CURRENT_MAX_VALUE;
148148
ui16_regen_current_max_value = REGEN_CURRENT_MAX_VALUE;
149149
ui8_current_cal_a = current_cal_a;
150+
ui8_correction_at_angle = CORRECTION_AT_ANGLE;
150151
flt_torquesensorCalibration = TQS_CALIB;
151152

152153
// read in overrides from eeprom if they are > 0, assuming 0s are uninitialized

BOdisplay.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ void addConfigStateInfosB(void) {
150150
addPayload(CODE_HALL_ANGLE_1_240, ui8_s_hall_angle1_240);
151151
addPayload(CODE_HALL_ANGLE_5_300, ui8_s_hall_angle5_300);
152152

153+
addPayload(CODE_MAX_REGEN_CURRENT,ui16_regen_current_max_value);
153154
addPayload(CODE_ADC_BATTERY_VOLTAGE_CALIB, ui8_s_battery_voltage_calibration);
154155

155156
// 23 more elements left/avail (max30)

0 commit comments

Comments
 (0)