Fix sensorless_homing_per_axis compile warning

This commit is contained in:
Scott Lahteine 2018-03-13 23:15:19 -05:00
parent 4c3d7083c0
commit 07cf2cd9c4

View file

@ -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);