Making Clean nozzle command the same for all printers with wipe.
This commit is contained in:
parent
3ed3100e04
commit
15e9839344
@ -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...\nG28O\nG12\nM77\nM117 Nozzle Clean"
|
||||
|
||||
// Default number of pattern repetitions
|
||||
#define NOZZLE_CLEAN_STROKES 12
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user