ellensp
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
Marlin/src/gcode/lcd/M0_M1.cpp
|
|
@ -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(); |
|
|
|