Merge branch '25-clean-nozzle-script-is-not-used' into 'master'

Resolve "Clean Nozzle script is not used"

Closes #25

See merge request lulzbot3d/marlin!18
This commit is contained in:
Brian Kahl 2021-09-16 18:54:11 +00:00
commit 89ab166297
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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;

View File

@ -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
//