Clean up host actions code (#16856)

This commit is contained in:
Scott Lahteine
2020-02-13 23:39:27 -06:00
committed by GitHub
parent ff0c931e47
commit 00ba053c90
6 changed files with 86 additions and 88 deletions

View File

@@ -92,11 +92,7 @@ void event_filament_runout() {
//action:out_of_filament
#if ENABLED(HOST_PROMPT_SUPPORT)
host_prompt_reason = PROMPT_FILAMENT_RUNOUT;
host_action_prompt_end();
host_action_prompt_begin(PSTR("FilamentRunout T"), false);
SERIAL_CHAR(tool);
SERIAL_EOL();
host_action_prompt_begin(PROMPT_FILAMENT_RUNOUT, PSTR("FilamentRunout T"), tool);
host_action_prompt_show();
#endif