1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-23 20:18:52 +00:00

🩹 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