🩹 Fix EXTRUDER 0 compile warning (#22868)

This commit is contained in:
ellensp 2021-10-04 19:12:19 +13:00 committed by GitHub
parent 2d08afe456
commit b919bdbf0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -609,7 +609,7 @@ class Stepper {
static void disable_e_steppers(); static void disable_e_steppers();
#else #else
static inline void enable_extruder() {} 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 enable_e_steppers() {}
static inline void disable_e_steppers() {} static inline void disable_e_steppers() {}
#endif #endif