Browse Source

🩹 Fix EXTRUDER 0 compile warning (#22868)

ellensp 3 years ago
parent
commit
b919bdbf0b
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/module/stepper.h

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

609
       static void disable_e_steppers();
609
       static void disable_e_steppers();
610
     #else
610
     #else
611
       static inline void enable_extruder() {}
611
       static inline void enable_extruder() {}
612
-      static inline bool disable_extruder() {}
612
+      static inline bool disable_extruder() { return true; }
613
       static inline void enable_e_steppers() {}
613
       static inline void enable_e_steppers() {}
614
       static inline void disable_e_steppers() {}
614
       static inline void disable_e_steppers() {}
615
     #endif
615
     #endif

Loading…
Cancel
Save