Browse Source

🩹 Fix EXTRUDER 0 compile warning (#22868)

ellensp 3 years ago
parent
commit
b919bdbf0b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Marlin/src/module/stepper.h

+ 1 - 1
Marlin/src/module/stepper.h

@@ -609,7 +609,7 @@ class Stepper {
       static void disable_e_steppers();
     #else
       static inline void enable_extruder() {}
-      static inline bool disable_extruder() {}
+      static inline bool disable_extruder() { return true; }
       static inline void enable_e_steppers() {}
       static inline void disable_e_steppers() {}
     #endif