|
|
@@ -729,7 +729,7 @@ void AnycubicTouchscreenClass::HandleSpecialMenu() {
|
|
|
|
else if ((strcasestr_P(currentTouchscreenSelection, PSTR(SM_BLTOUCH_L)) != NULL)
|
|
|
|
else if ((strcasestr_P(currentTouchscreenSelection, PSTR(SM_BLTOUCH_L)) != NULL)
|
|
|
|
|| (strcasestr_P(currentTouchscreenSelection, PSTR(SM_BLTOUCH_S)) != NULL)) {
|
|
|
|
|| (strcasestr_P(currentTouchscreenSelection, PSTR(SM_BLTOUCH_S)) != NULL)) {
|
|
|
|
SERIAL_ECHOLNPGM("Special Menu: BLTouch Leveling");
|
|
|
|
SERIAL_ECHOLNPGM("Special Menu: BLTouch Leveling");
|
|
|
|
queue.inject_P(PSTR("G28\nG29\nM500\nG90\nM300 S440 P200\nM300 S660 P250\nM300 S880 P300\nG1 Z30 F4000\nG1 X0 F4000\nG91\nM84"));
|
|
|
|
queue.inject_P(PSTR("G28\nG29\nM500\nG90\nM300 S440 P200\nM300 S660 P250\nM300 S880 P300\nG1 Z30 F4000\nG1 X0 F4000\nG91\nM84\nM420 S1"));
|
|
|
|
buzzer.tone(105, 1108);
|
|
|
|
buzzer.tone(105, 1108);
|
|
|
|
buzzer.tone(210, 1661);
|
|
|
|
buzzer.tone(210, 1661);
|
|
|
|
}
|
|
|
|
}
|
|
|
@@ -850,7 +850,7 @@ void AnycubicTouchscreenClass::HandleSpecialMenu() {
|
|
|
|
|| (strcasestr_P(currentTouchscreenSelection, PSTR(SM_EZLVL_MENU_S)) != NULL)) {
|
|
|
|
|| (strcasestr_P(currentTouchscreenSelection, PSTR(SM_EZLVL_MENU_S)) != NULL)) {
|
|
|
|
SERIAL_ECHOLNPGM("Special Menu: Enter Easy Level Menu");
|
|
|
|
SERIAL_ECHOLNPGM("Special Menu: Enter Easy Level Menu");
|
|
|
|
LevelMenu = true;
|
|
|
|
LevelMenu = true;
|
|
|
|
queue.inject_P(PSTR("G28\nG90\nG1 Z5\nG1 X15 Y15 F4000\nG1 Z0"));
|
|
|
|
queue.inject_P(PSTR("G28\nM420 S0\nG90\nG1 Z5\nG1 X15 Y15 F4000\nG1 Z0"));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if ((strcasestr_P(currentTouchscreenSelection, PSTR(SM_EZLVL_P1_L)) != NULL)
|
|
|
|
else if ((strcasestr_P(currentTouchscreenSelection, PSTR(SM_EZLVL_P1_L)) != NULL)
|
|
|
|
|| (strcasestr_P(currentTouchscreenSelection, PSTR(SM_EZLVL_P1_S)) != NULL)) {
|
|
|
|
|| (strcasestr_P(currentTouchscreenSelection, PSTR(SM_EZLVL_P1_S)) != NULL)) {
|
|
|
@@ -918,7 +918,7 @@ void AnycubicTouchscreenClass::HandleSpecialMenu() {
|
|
|
|
|| (strcasestr_P(currentTouchscreenSelection, PSTR(SM_EZLVL_EXIT_S)) != NULL)) {
|
|
|
|
|| (strcasestr_P(currentTouchscreenSelection, PSTR(SM_EZLVL_EXIT_S)) != NULL)) {
|
|
|
|
SERIAL_ECHOLNPGM("Special Menu: Exit Easy Level Menu");
|
|
|
|
SERIAL_ECHOLNPGM("Special Menu: Exit Easy Level Menu");
|
|
|
|
LevelMenu = false;
|
|
|
|
LevelMenu = false;
|
|
|
|
queue.inject_P(PSTR("G90\nG1 Z10\nG1 X15 Y15 F4000"));
|
|
|
|
queue.inject_P(PSTR("G90\nG1 Z10\nG1 X15 Y15 F4000\nM420 S1"));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
}
|
|
|
|