diff --git a/Src/main.c b/Src/main.c index 9c694e26..4b2a62aa 100644 --- a/Src/main.c +++ b/Src/main.c @@ -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