Skip to content

Commit

Permalink
filament runout: only allowed if E-axis is active
Browse files Browse the repository at this point in the history
We do this for FINDA runouts, so why not Fsensor as well?

Change in memory:
Flash: -6 bytes
SRAM: 0 bytes
  • Loading branch information
gudnimg committed Aug 13, 2023
1 parent c708456 commit 8678366
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Firmware/Filament_sensor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ void Filament_sensor::triggerFilamentRemoved() {
if (runoutEnabled
&& (eFilamentAction == FilamentAction::None)
&& (
moves_planned() != 0
e_active()
|| printJobOngoing()
)
&& !(
Expand Down

0 comments on commit 8678366

Please sign in to comment.