mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 13:56:24 +00:00
Fix 'pause_menu_response' compile error (#14792)
This commit is contained in:
parent
3db1a80b4c
commit
0c035c0a7a
@ -110,7 +110,9 @@ void host_action(const char * const pstr, const bool eol) {
|
|||||||
case PROMPT_FILAMENT_RUNOUT:
|
case PROMPT_FILAMENT_RUNOUT:
|
||||||
msg = PSTR("FILAMENT_RUNOUT");
|
msg = PSTR("FILAMENT_RUNOUT");
|
||||||
if (response == 0) {
|
if (response == 0) {
|
||||||
pause_menu_response = PAUSE_RESPONSE_EXTRUDE_MORE;
|
#if ENABLED(ADVANCED_PAUSE_FEATURE)
|
||||||
|
pause_menu_response = PAUSE_RESPONSE_EXTRUDE_MORE;
|
||||||
|
#endif
|
||||||
host_action_prompt_end(); // Close current prompt
|
host_action_prompt_end(); // Close current prompt
|
||||||
host_action_prompt_begin(PSTR("Paused"));
|
host_action_prompt_begin(PSTR("Paused"));
|
||||||
host_action_prompt_button(PSTR("Purge More"));
|
host_action_prompt_button(PSTR("Purge More"));
|
||||||
@ -133,7 +135,9 @@ void host_action(const char * const pstr, const bool eol) {
|
|||||||
runout.reset();
|
runout.reset();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
pause_menu_response = PAUSE_RESPONSE_RESUME_PRINT;
|
#if ENABLED(ADVANCED_PAUSE_FEATURE)
|
||||||
|
pause_menu_response = PAUSE_RESPONSE_RESUME_PRINT;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case PROMPT_USER_CONTINUE:
|
case PROMPT_USER_CONTINUE:
|
||||||
@ -142,7 +146,9 @@ void host_action(const char * const pstr, const bool eol) {
|
|||||||
break;
|
break;
|
||||||
case PROMPT_PAUSE_RESUME:
|
case PROMPT_PAUSE_RESUME:
|
||||||
msg = PSTR("LCD_PAUSE_RESUME");
|
msg = PSTR("LCD_PAUSE_RESUME");
|
||||||
queue.inject_P(PSTR("M24"));
|
#if ENABLED(ADVANCED_PAUSE_FEATURE)
|
||||||
|
queue.inject_P(PSTR("M24"));
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
case PROMPT_INFO:
|
case PROMPT_INFO:
|
||||||
msg = PSTR("GCODE_INFO");
|
msg = PSTR("GCODE_INFO");
|
||||||
|
Loading…
Reference in New Issue
Block a user