Skip to content

Commit d36ebe9

Browse files
committed
format
1 parent f83e7af commit d36ebe9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stm32-modules/include/flex-stacker/firmware/motor_interrupt.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ class MotorInterruptController {
7777
set_direction(move.direction);
7878
_profile = motor_util::MovementProfile(
7979
TIMER_FREQ, state->get_speed_discont(),
80+
// if moving to limit switch, use max speed discont
8081
move.limit_switch ? state->get_speed_discont() : state->get_speed(),
8182
state->get_accel(),
8283
move.limit_switch ? motor_util::MovementType::OpenLoop

0 commit comments

Comments
 (0)