Skip to content

Commit

Permalink
🔨Use G12 if CLEAN_SCRIPT is not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
bmkahl committed Jul 8, 2024
1 parent 8c0152c commit d32c25e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ bool AdvancedSettingsMenu::onTouchEnd(uint8_t tag) {
case 16: GOTO_SCREEN(FlowPercentScreen); break;
case 17:
GOTO_SCREEN(StatusScreen);
#if ENABLED(MANUAL_NOZZLE_CLEAN)
#ifndef CLEAN_SCRIPT
injectCommands(F("G12"));
#else
injectCommands(F(CLEAN_SCRIPT));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ bool MainMenu::onTouchEnd(uint8_t tag) {
case 4: GOTO_SCREEN(BacklashCompensationScreen); break;
case 5:
GOTO_SCREEN(StatusScreen);
#if ENABLED(MANUAL_NOZZLE_CLEAN)
#ifndef CLEAN_SCRIPT
injectCommands(F("G12"));
#else
injectCommands(F(CLEAN_SCRIPT));
Expand Down

0 comments on commit d32c25e

Please sign in to comment.