Skip to content
Snippets Groups Projects
Unverified Commit 7bf3581b authored by ellensp's avatar ellensp Committed by GitHub
Browse files

Fix M0/M1 broken wait loop (#16921)

parent b9b29bf4
Branches
Tags
No related merge requests found
......@@ -102,7 +102,7 @@ void GcodeSuite::M0_M1() {
#endif
if (ms > 0) ms += millis(); // wait until this time for a click
while (wait_for_user && (ms > 0 || PENDING(millis(), ms))) idle();
while (wait_for_user || (ms > 0 && PENDING(millis(), ms))) idle();
#if HAS_LEDS_OFF_FLAG
printerEventLEDs.onResumeAfterWait();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment