From eb4bc1af1d398143eda6de658d83c33b2bcd6a17 Mon Sep 17 00:00:00 2001 From: ellensp <530024+ellensp@users.noreply.github.com> Date: Mon, 4 Oct 2021 19:12:19 +1300 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20Fix=20EXTRUDER=200=20compile=20w?= =?UTF-8?q?arning=20(#22868)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Marlin/src/module/stepper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/module/stepper.h b/Marlin/src/module/stepper.h index 0bfb418d40dc..f170dd410458 100644 --- a/Marlin/src/module/stepper.h +++ b/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