From 55ac2f4c2376aeef23f9161c634a4fc6cef5be00 Mon Sep 17 00:00:00 2001 From: InsanityAutomation <38436470+InsanityAutomation@users.noreply.github.com> Date: Sat, 20 Oct 2018 14:39:33 -0400 Subject: [PATCH] Fix filament runout for idex duplication modes (#12168) --- Marlin/src/feature/runout.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Marlin/src/feature/runout.h b/Marlin/src/feature/runout.h index 3f35536a7..6e84742b8 100644 --- a/Marlin/src/feature/runout.h +++ b/Marlin/src/feature/runout.h @@ -167,6 +167,10 @@ class FilamentSensorTypeSwitch : public FilamentSensorTypeBase { return runout_bits; // A single sensor applying to all extruders #else #if ENABLED(DUAL_X_CARRIAGE) + if (dual_x_carriage_mode == DXC_DUPLICATION_MODE || dual_x_carriage_mode == DXC_SCALED_DUPLICATION_MODE) + return runout_bits; // Any extruder + else + #elif ENABLED(DUAL_NOZZLE_DUPLICATION_MODE) if (extruder_duplication_enabled) return runout_bits; // Any extruder else