瀏覽代碼

🩹 Fix EXTRUDER 0 compile warning (#22868)

ellensp 3 年之前
父節點
當前提交
b919bdbf0b
No account linked to committer's email address
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      Marlin/src/module/stepper.h

+ 1
- 1
Marlin/src/module/stepper.h 查看文件

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

Loading…
取消
儲存