Skip to content

Commit

Permalink
Adjust previously set startup duty cycle for driving brake
Browse files Browse the repository at this point in the history
  • Loading branch information
AlkaMotors committed Nov 25, 2024
1 parent cd38753 commit 77d4406
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -668,8 +668,8 @@ void loadEEpromSettings()
dead_time_override = 200;
}
}
min_startup_duty = eepromBuffer.startup_power + dead_time_override;
minimum_duty_cycle = eepromBuffer.startup_power / 2 + dead_time_override;
min_startup_duty = min_startup_duty + dead_time_override;
minimum_duty_cycle = minimum_duty_cycle + dead_time_override;
throttle_max_at_low_rpm = throttle_max_at_low_rpm + dead_time_override;
startup_max_duty_cycle = startup_max_duty_cycle + dead_time_override;
#ifdef STMICRO
Expand Down

0 comments on commit 77d4406

Please sign in to comment.