Fix sensorless_homing_per_axis compile warning
This commit is contained in:
parent
4c3d7083c0
commit
07cf2cd9c4
|
@ -952,6 +952,7 @@ inline float get_homing_bump_feedrate(const AxisEnum axis) {
|
||||||
*/
|
*/
|
||||||
void sensorless_homing_per_axis(const AxisEnum axis, const bool enable/*=true*/) {
|
void sensorless_homing_per_axis(const AxisEnum axis, const bool enable/*=true*/) {
|
||||||
switch (axis) {
|
switch (axis) {
|
||||||
|
default: break;
|
||||||
#if X_SENSORLESS
|
#if X_SENSORLESS
|
||||||
case X_AXIS:
|
case X_AXIS:
|
||||||
tmc_sensorless_homing(stepperX, enable);
|
tmc_sensorless_homing(stepperX, enable);
|
||||||
|
|
Loading…
Reference in a new issue