1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-29 23:07:42 +00:00

🚸 Fix alert level after Stow Z-Probe (#27404)

This commit is contained in:
David 2024-09-09 04:29:35 +01:00 committed by GitHub
parent 8bae8bbf7a
commit 7634ffe8e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View File

@ -812,7 +812,7 @@ G29_TYPE GcodeSuite::G29() {
#endif // AUTO_BED_LEVELING_3POINT #endif // AUTO_BED_LEVELING_3POINT
TERN_(HAS_STATUS_MESSAGE, ui.reset_status()); ui.reset_status();
// Stow the probe. No raise for FIX_MOUNTED_PROBE. // Stow the probe. No raise for FIX_MOUNTED_PROBE.
if (probe.stow()) { if (probe.stow()) {

View File

@ -356,7 +356,7 @@ FORCE_INLINE void probe_specific_action(const bool deploy) {
FSTR_P const ds_fstr = deploy ? GET_TEXT_F(MSG_MANUAL_DEPLOY) : GET_TEXT_F(MSG_MANUAL_STOW); FSTR_P const ds_fstr = deploy ? GET_TEXT_F(MSG_MANUAL_DEPLOY) : GET_TEXT_F(MSG_MANUAL_STOW);
ui.return_to_status(); // To display the new status message ui.return_to_status(); // To display the new status message
ui.set_max_status(ds_fstr); ui.set_max_status(ds_fstr); // Set a status message that won't be overwritten by the host
SERIAL_ECHOLN(deploy ? GET_EN_TEXT_F(MSG_MANUAL_DEPLOY) : GET_EN_TEXT_F(MSG_MANUAL_STOW)); SERIAL_ECHOLN(deploy ? GET_EN_TEXT_F(MSG_MANUAL_DEPLOY) : GET_EN_TEXT_F(MSG_MANUAL_STOW));
OKAY_BUZZ(); OKAY_BUZZ();
@ -381,7 +381,8 @@ FORCE_INLINE void probe_specific_action(const bool deploy) {
#endif #endif
TERN_(HAS_RESUME_CONTINUE, wait_for_user_response()); TERN_(HAS_RESUME_CONTINUE, wait_for_user_response());
ui.reset_status(); ui.reset_alert_level();
//ui.reset_status();
#endif // PAUSE_BEFORE_DEPLOY_STOW #endif // PAUSE_BEFORE_DEPLOY_STOW