Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 25f401a

Browse files
committedMar 23, 2025·
doc: migration-guide: 4.2: add migration guide entry for enable
- Add migration guide entry for enable->enable/disable function - Add stepper_disable to stepper.rst Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
1 parent b94740e commit 25f401a

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed
 

‎doc/hardware/peripherals/stepper.rst

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Configure Stepper Driver
1414
and :c:func:`stepper_get_actual_position`.
1515
- Set **step interval** in nanoseconds between steps using :c:func:`stepper_set_microstep_interval`
1616
- **Enable** the stepper driver using :c:func:`stepper_enable`.
17+
- **Disable** the stepper driver using :c:func:`stepper_disable`.
1718

1819
Control Stepper
1920
===============

‎doc/releases/migration-guide-4.2.rst

+6
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,12 @@ Timer
136136
:kconfig:option:`CONFIG_NATIVE_POSIX_TIMER` has been deprecated in favor of
137137
:kconfig:option:`CONFIG_NATIVE_SIM_TIMER`, (:github:`86612`).
138138

139+
Stepper
140+
=======
141+
142+
* Refactored the ``stepper_enable(const struct device * dev, bool enable)`` function to
143+
:c:func:`stepper_enable` & :c:func:`stepper_disable`.
144+
139145
Bluetooth
140146
*********
141147

0 commit comments

Comments
 (0)
Please sign in to comment.