1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-29 14:57:05 +00:00

sv06p - fix stuck filament runout

This commit is contained in:
saddfox 2024-11-14 22:11:08 +01:00
parent 12b47b1b0a
commit 749c59aa67

View File

@ -1365,7 +1365,7 @@ void RTS::handleData() {
#if HAS_FILAMENT_SENSOR #if HAS_FILAMENT_SENSOR
case FilamentChange: // Automatic material case FilamentChange: // Automatic material
switch (recdat.data[0]) { switch (recdat.data[0]) {
case 1: if (runout.filament_ran_out) break; case 1: if (READ(FIL_RUNOUT_PIN) == FIL_RUNOUT_STATE) break;
case 2: case 2:
updateTempE0(); updateTempE0();
wait_for_heatup = wait_for_user = false; wait_for_heatup = wait_for_user = false;