🚸 Prevent accidental button press

This commit is contained in:
Scott Lahteine
2022-04-21 07:07:04 -05:00
committed by Scott Lahteine
parent 421c38ff2e
commit 7ff4b70694
2 changed files with 4 additions and 2 deletions

View File

@@ -271,6 +271,7 @@ bool wait_for_heatup = true;
while (wait_for_user && !(ms && ELAPSED(millis(), ms)))
idle(TERN_(ADVANCED_PAUSE_FEATURE, no_sleep));
wait_for_user = false;
while (ui.button_pressed()) safe_delay(50);
}
#endif