Fix runout trigger on "inactive" sensor (#14990)

This commit is contained in:
InsanityAutomation 2019-08-18 22:11:33 -04:00 committed by Scott Lahteine
parent af5a7a2925
commit c5be59ddfe

View file

@ -249,6 +249,8 @@ class FilamentSensorBase {
&& (dual_x_carriage_mode == DXC_DUPLICATION_MODE || dual_x_carriage_mode == DXC_MIRRORED_MODE) && (dual_x_carriage_mode == DXC_DUPLICATION_MODE || dual_x_carriage_mode == DXC_MIRRORED_MODE)
#elif ENABLED(MULTI_NOZZLE_DUPLICATION) #elif ENABLED(MULTI_NOZZLE_DUPLICATION)
&& extruder_duplication_enabled && extruder_duplication_enabled
#else
&& false
#endif #endif
#endif #endif
) return runout_states; // Any extruder ) return runout_states; // Any extruder