mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 22:08:02 +00:00
🚸 Echo G30 out-of-bounds (#25671)
This commit is contained in:
parent
2fcc140c0d
commit
e49cf0665a
@ -28,6 +28,7 @@
|
|||||||
#include "../../module/motion.h"
|
#include "../../module/motion.h"
|
||||||
#include "../../module/probe.h"
|
#include "../../module/probe.h"
|
||||||
#include "../../feature/bedlevel/bedlevel.h"
|
#include "../../feature/bedlevel/bedlevel.h"
|
||||||
|
#include "../../lcd/marlinui.h"
|
||||||
|
|
||||||
#if HAS_PTC
|
#if HAS_PTC
|
||||||
#include "../../feature/probe_temp_comp.h"
|
#include "../../feature/probe_temp_comp.h"
|
||||||
@ -37,10 +38,6 @@
|
|||||||
#include "../../module/tool_change.h"
|
#include "../../module/tool_change.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if EITHER(DWIN_LCD_PROUI, DWIN_CREALITY_LCD_JYERSUI)
|
|
||||||
#include "../../lcd/marlinui.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* G30: Do a single Z probe at the given XY (default: current)
|
* G30: Do a single Z probe at the given XY (default: current)
|
||||||
*
|
*
|
||||||
@ -105,10 +102,8 @@ void GcodeSuite::G30() {
|
|||||||
report_current_position();
|
report_current_position();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
#if ENABLED(DWIN_LCD_PROUI)
|
|
||||||
SERIAL_ECHOLNF(GET_EN_TEXT_F(MSG_ZPROBE_OUT));
|
SERIAL_ECHOLNF(GET_EN_TEXT_F(MSG_ZPROBE_OUT));
|
||||||
LCD_MESSAGE(MSG_ZPROBE_OUT);
|
LCD_MESSAGE(MSG_ZPROBE_OUT);
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
probe.use_probing_tool(false);
|
probe.use_probing_tool(false);
|
||||||
|
Loading…
Reference in New Issue
Block a user