1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-23 20:18:52 +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;
if (isnan(measured_z)) {
STOW_PROBE();
LCD_MESSAGEPGM(MSG_ERR_PROBING_FAILED);
SERIAL_ERROR_START();
SERIAL_ERRORLNPGM(MSG_ERR_PROBING_FAILED);