1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-30 15:26:18 +00:00

Stow probe on probing failed (#11936)

Prevents probe from being left down should probing fail and print job continue
This commit is contained in:
InsanityAutomation 2018-09-27 13:26:14 -04:00 committed by Scott Lahteine
parent 0b602ae101
commit f2e630a05e

View File

@ -745,6 +745,7 @@ float probe_pt(const float &rx, const float &ry, const ProbePtRaise raise_after/
feedrate_mm_s = old_feedrate_mm_s; feedrate_mm_s = old_feedrate_mm_s;
if (isnan(measured_z)) { if (isnan(measured_z)) {
STOW_PROBE();
LCD_MESSAGEPGM(MSG_ERR_PROBING_FAILED); LCD_MESSAGEPGM(MSG_ERR_PROBING_FAILED);
SERIAL_ERROR_START(); SERIAL_ERROR_START();
SERIAL_ERRORLNPGM(MSG_ERR_PROBING_FAILED); SERIAL_ERRORLNPGM(MSG_ERR_PROBING_FAILED);