🚸 Prevent accidental button press

This commit is contained in:
Scott Lahteine
2022-04-21 07:07:04 -05:00
parent 2dcfa140e9
commit 0ff3035f3a
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