Skip to content

Commit 6b02a61

Browse files
dipakgmxkartben
authored andcommitted
drivers: stepper: adi_tmc: position handling support
Add definition for handling position signedness. Signed-off-by: Dipak Shetty <shetty.dipak@gmx.com>
1 parent 418d2e6 commit 6b02a61

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/zephyr/drivers/stepper/stepper_trinamic.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ extern "C" {
5555
#define TMC_RAMP_IHOLDDELAY_MAX GENMASK(3, 0)
5656
#define TMC_RAMP_IHOLDDELAY_MIN 0
5757
#define TMC_RAMP_VACTUAL_SHIFT 22
58+
#define TMC_RAMP_XACTUAL_SHIFT 31
5859

5960
/* TMC50XX specific */
6061
#define TMC_RAMP_VCOOLTHRS_MAX GENMASK(22, 0)

0 commit comments

Comments
 (0)