🚸 Use M600 for disabled MMU (#21865)

This commit is contained in:
Giuliano Zaro
2021-12-14 01:47:57 +01:00
committed by GitHub
parent 8277f3ca0d
commit 1dd9adbfe4
3 changed files with 34 additions and 31 deletions

View File

@@ -784,7 +784,10 @@ void idle(bool no_stepper_sleep/*=false*/) {
(void)check_tool_sensor_stats(active_extruder, true);
// Handle filament runout sensors
TERN_(HAS_FILAMENT_SENSOR, runout.run());
#if HAS_FILAMENT_SENSOR
if (TERN1(HAS_PRUSA_MMU2, !mmu2.enabled()))
runout.run();
#endif
// Run HAL idle tasks
TERN_(HAL_IDLETASK, HAL_idletask());