SKR-2
SKR-2 copied to clipboard
Marlin 2.1.2.1 Dual Z stepper motor configuration error
Hi, I have installed Second Z motor stepper driver , TMC2209, and uncommented Z2_DRIVER_TYPE TMC2209, and Z_STEPPER_AUTO_ALIGN. in Marlin 2.1.2.1 I am now getting the following error:
Marlin\src\module\stepper\trinamic.cpp: In function 'void reset_trinamic_drivers()': Marlin\src\module\stepper\trinamic.cpp:941:14: error: 'Z2_HYBRID_THRESHOLD' was not declared in this scope; did you mean 'E2_HYBRID_THRESHOLD'? 941 | TMC_INIT(Z2, STEALTH_AXIS_Z); | ^~ Marlin\src\module\stepper\trinamic.cpp:41:90: note: in definition of macro 'TMC_INIT' 41 | #define TMC_INIT(ST, STEALTH_INDEX) tmc_init(stepper##ST, ST##_CURRENT, ST##_MICROSTEPS, ST##HYBRID_THRESHOLD, stealthchop_by_axis[STEALTH_INDEX], chopper_timing##ST, ST##_INTERPOLATE, ST##_HOLD_MULTIPLIER)
Please help
thanks