From d206ab40dc4acecd8ee826eb77db7a03c6cf5b9d Mon Sep 17 00:00:00 2001 From: 0r31 Date: Fri, 22 Sep 2023 14:42:10 +0200 Subject: [PATCH] Using ui.set_status() with a PSTR leads to weird behavior --- Marlin/src/gcode/calibrate/G33.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Marlin/src/gcode/calibrate/G33.cpp b/Marlin/src/gcode/calibrate/G33.cpp index 656c23cb78ff..a55ec3831e33 100644 --- a/Marlin/src/gcode/calibrate/G33.cpp +++ b/Marlin/src/gcode/calibrate/G33.cpp @@ -469,7 +469,9 @@ void GcodeSuite::G33() { SERIAL_ECHOPGM(" at radius:", dcr); if (verbose_level == 0) SERIAL_ECHOPGM(" (DRY-RUN)"); SERIAL_EOL(); - ui.set_status(checkingac); + char mess[14]; + strcpy_P(mess, checkingac); + ui.set_status(mess); print_calibration_settings(_endstop_results, _angle_results);