mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 22:08:02 +00:00
Fix filament runout for idex duplication modes (#12168)
This commit is contained in:
parent
b640b3b0d6
commit
55ac2f4c23
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user