drivers: stepper: fix stepper_set_event_callback c prototype and definition
This commit fixes incorrect c prototype and defintion of stepper_set_callback to stepper_set_event_callback Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
This commit is contained in:
parent
843625a29b
commit
195c2c1360
4 changed files with 13 additions and 11 deletions
|
@ -24,6 +24,7 @@ Control Stepper
|
|||
- Run continuously with a **constant velocity** in a specific direction until
|
||||
a stop is detected using :c:func:`stepper_enable_constant_velocity_mode`.
|
||||
- Check if the stepper is **moving** using :c:func:`stepper_is_moving`.
|
||||
- Register an **event callback** using :c:func:`stepper_set_event_callback`.
|
||||
|
||||
Device Tree
|
||||
===========
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue