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
|
return runout_bits; // A single sensor applying to all extruders
|
||||||
#else
|
#else
|
||||||
#if ENABLED(DUAL_X_CARRIAGE)
|
#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)
|
if (extruder_duplication_enabled)
|
||||||
return runout_bits; // Any extruder
|
return runout_bits; // Any extruder
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user