Browse Source

Fix sensorless_homing_per_axis compile warning

pull/1/head
Scott Lahteine 7 years ago
parent
commit
07cf2cd9c4
  1. 1
      Marlin/src/module/motion.cpp

1
Marlin/src/module/motion.cpp

@ -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…
Cancel
Save