Centralize click-handling in the LCD loop
This commit is contained in:
parent
47ad97c35e
commit
50ee749082
5 changed files with 72 additions and 115 deletions
|
|
@ -508,10 +508,7 @@ MarlinSerial customizedSerial;
|
|||
if (c == '\n') {
|
||||
switch (state) {
|
||||
case state_M108:
|
||||
wait_for_heatup = false;
|
||||
#if DISABLED(ULTIPANEL)
|
||||
wait_for_user = false;
|
||||
#endif
|
||||
wait_for_user = wait_for_heatup = false;
|
||||
break;
|
||||
case state_M112:
|
||||
kill(PSTR(MSG_KILLED));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue