diff --git a/Marlin/src/gcode/calibrate/G34_M422.cpp b/Marlin/src/gcode/calibrate/G34_M422.cpp index eeb18a9ca8..e0b7965a2f 100644 --- a/Marlin/src/gcode/calibrate/G34_M422.cpp +++ b/Marlin/src/gcode/calibrate/G34_M422.cpp @@ -161,7 +161,7 @@ void GcodeSuite::G34() { #if HAS_DISPLAY PGM_P const msg_iteration = GET_TEXT(MSG_ITERATION); - const uint8_t iter_str_len = strlen_P(iter_str_len); + const uint8_t iter_str_len = strlen_P(msg_iteration); #endif // Final z and iteration values will be used after breaking the loop