Making Clean nozzle command the same for all printers with wipe.

This commit is contained in:
Brian Kahl 2021-09-16 09:09:12 -05:00
parent 3ed3100e04
commit 15e9839344
3 changed files with 3 additions and 3 deletions

View File

@ -2511,7 +2511,7 @@
#endif #endif
#if ENABLED(NOZZLE_CLEAN_FEATURE) #if ENABLED(NOZZLE_CLEAN_FEATURE)
#define CLEAN_SCRIPT "M117 Hot end heating...\nM104 S170\nG28 O\nG12" #define CLEAN_SCRIPT "M117 cleaning Nozzle...\nG28O\nG12\nM77\nM117 Nozzle Clean"
// Default number of pattern repetitions // Default number of pattern repetitions
#define NOZZLE_CLEAN_STROKES 12 #define NOZZLE_CLEAN_STROKES 12

View File

@ -106,7 +106,7 @@ bool MainMenu::onTouchEnd(uint8_t tag) {
case 1: SaveSettingsDialogBox::promptToSaveSettings(); break; case 1: SaveSettingsDialogBox::promptToSaveSettings(); break;
case 2: SpinnerDialogBox::enqueueAndWait_P(F("G28")); break; case 2: SpinnerDialogBox::enqueueAndWait_P(F("G28")); break;
#if ENABLED(NOZZLE_CLEAN_FEATURE) #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 #endif
case 4: GOTO_SCREEN(MoveAxisScreen); break; case 4: GOTO_SCREEN(MoveAxisScreen); break;
case 5: injectCommands_P(PSTR("M84")); break; case 5: injectCommands_P(PSTR("M84")); break;

View File

@ -391,7 +391,7 @@ void menu_motion() {
// Clean Nozzle // Clean Nozzle
// //
#if defined(NOZZLE_CLEAN_FEATURE) #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 #endif
// //