Skip to content

Commit b4b5d8b

Browse files
jilaypandyakartben
authored andcommitted
drivers: stepper: a4979: add stop function
add stop function to a4979 stepper controller Signed-off-by: Jilay Pandya <[email protected]>
1 parent cefd85d commit b4b5d8b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/stepper/allegro/a4979.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,7 @@ static DEVICE_API(stepper, a4979_stepper_api) = {
252252
.get_actual_position = step_dir_stepper_common_get_actual_position,
253253
.set_microstep_interval = step_dir_stepper_common_set_microstep_interval,
254254
.run = a4979_run,
255+
.stop = step_dir_stepper_common_stop,
255256
.set_micro_step_res = a4979_stepper_set_micro_step_res,
256257
.get_micro_step_res = a4979_stepper_get_micro_step_res,
257258
.set_event_callback = step_dir_stepper_common_set_event_callback,

0 commit comments

Comments
 (0)