diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h index a866d1c94..641d81a5f 100644 --- a/Marlin/Configuration.h +++ b/Marlin/Configuration.h @@ -2511,7 +2511,7 @@ #endif #if ENABLED(NOZZLE_CLEAN_FEATURE) - #define CLEAN_SCRIPT "M117 Hot end heating...\nM104 S170\nG28 O\nG12" + #define CLEAN_SCRIPT "M117 Cleaning nozzle...\nG28 O\nG12\nM77\nM117 Nozzle clean" // Default number of pattern repetitions #define NOZZLE_CLEAN_STROKES 12 diff --git a/Marlin/src/lcd/extui/ftdi_eve_touch_ui/generic/main_menu.cpp b/Marlin/src/lcd/extui/ftdi_eve_touch_ui/generic/main_menu.cpp index 96650ef7e..9370240e5 100644 --- a/Marlin/src/lcd/extui/ftdi_eve_touch_ui/generic/main_menu.cpp +++ b/Marlin/src/lcd/extui/ftdi_eve_touch_ui/generic/main_menu.cpp @@ -106,7 +106,7 @@ bool MainMenu::onTouchEnd(uint8_t tag) { case 1: SaveSettingsDialogBox::promptToSaveSettings(); break; case 2: SpinnerDialogBox::enqueueAndWait_P(F("G28")); break; #if ENABLED(NOZZLE_CLEAN_FEATURE) - case 3: injectCommands_P(PSTR("G28O\nG12\nM77")); GOTO_SCREEN(StatusScreen); break; + case 3: injectCommands_P(PSTR(CLEAN_SCRIPT)); GOTO_SCREEN(StatusScreen); break; #endif case 4: GOTO_SCREEN(MoveAxisScreen); break; case 5: injectCommands_P(PSTR("M84")); break; diff --git a/Marlin/src/lcd/menu/menu_motion.cpp b/Marlin/src/lcd/menu/menu_motion.cpp index cb25299c9..30f52753a 100644 --- a/Marlin/src/lcd/menu/menu_motion.cpp +++ b/Marlin/src/lcd/menu/menu_motion.cpp @@ -391,7 +391,7 @@ void menu_motion() { // Clean Nozzle // #if defined(NOZZLE_CLEAN_FEATURE) - GCODES_ITEM(MSG_NOZZLE_CLEAN, PSTR("G28O\nM117 cleaning Nozzle\nG12\nM77\nM117 Nozzle Clean")); + GCODES_ITEM(MSG_NOZZLE_CLEAN, PSTR(CLEAN_SCRIPT)); #endif //