From 07cf2cd9c44bb537b7821e898a4b9e648d207352 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Tue, 13 Mar 2018 23:15:19 -0500 Subject: [PATCH] Fix sensorless_homing_per_axis compile warning --- Marlin/src/module/motion.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Marlin/src/module/motion.cpp b/Marlin/src/module/motion.cpp index c34e163fd..446fd08f9 100644 --- a/Marlin/src/module/motion.cpp +++ b/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*/) { switch (axis) { + default: break; #if X_SENSORLESS case X_AXIS: tmc_sensorless_homing(stepperX, enable);