General cleanup: pause, MarlinCore

This commit is contained in:
Scott Lahteine
2020-04-25 12:31:21 -05:00
parent 89b17b5463
commit 0eeb5e2a29
2 changed files with 11 additions and 26 deletions

View File

@@ -214,9 +214,7 @@ bool wait_for_heatup = true;
bool wait_for_user; // = false;
void wait_for_user_response(millis_t ms/*=0*/, const bool no_sleep/*=false*/) {
#if DISABLED(ADVANCED_PAUSE_FEATURE)
UNUSED(no_sleep);
#endif
TERN(ADVANCED_PAUSE_FEATURE,,UNUSED(no_sleep));
KEEPALIVE_STATE(PAUSED_FOR_USER);
wait_for_user = true;
if (ms) ms += millis(); // expire time