Selaa lähdekoodia

Fix sensorless_homing_per_axis compile warning

Scott Lahteine 7 vuotta sitten
vanhempi
commit
07cf2cd9c4
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1
    0
      Marlin/src/module/motion.cpp

+ 1
- 0
Marlin/src/module/motion.cpp Näytä tiedosto

@@ -952,6 +952,7 @@ inline float get_homing_bump_feedrate(const AxisEnum axis) {
952 952
    */
953 953
   void sensorless_homing_per_axis(const AxisEnum axis, const bool enable/*=true*/) {
954 954
     switch (axis) {
955
+      default: break;
955 956
       #if X_SENSORLESS
956 957
         case X_AXIS:
957 958
           tmc_sensorless_homing(stepperX, enable);

Loading…
Peruuta
Tallenna