Skip to content

Commit 5543ce8

Browse files
committed
carousel: Fix homing bug.
Fix a typo which left the carousel turning after homing completed in index mode Signed-off-by: andypugh <andy@bodgesoc.org>
1 parent 76b01e7 commit 5543ce8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/hal/components/carousel.comp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ FUNCTION(_){
302302
} else {
303303
motor_fwd = 0;
304304
motor_rev = 0;
305-
motor_rev = hold_dc;
305+
motor_vel = hold_dc;
306306
active = 0;
307307
if (enable) ready = 1;
308308
state = 4;

0 commit comments

Comments
 (0)