Pārlūkot izejas kodu

Fix setStatusMessage calls (#17879)

Marcio T 4 gadus atpakaļ
vecāks
revīzija
98196673aa
Revīzijas autora e-pasta adrese nav piesaistīta nevienam kontam

+ 4
- 4
Marlin/src/lcd/extui/lib/ftdi_eve_touch_ui/marlin_events.cpp Parādīt failu

@@ -153,16 +153,16 @@ namespace ExtUI {
153 153
       //SERIAL_ECHOLNPAIR("OnPidTuning:", rst);
154 154
       switch (rst) {
155 155
         case PID_BAD_EXTRUDER_NUM:
156
-          StatusScreen::setstatusmessagePGM(GET_TEXT(MSG_PID_BAD_EXTRUDER_NUM));
156
+          StatusScreen::setStatusMessage(GET_TEXT_F(MSG_PID_BAD_EXTRUDER_NUM));
157 157
           break;
158 158
         case PID_TEMP_TOO_HIGH:
159
-          StatusScreen::setstatusmessagePGM(GET_TEXT(MSG_PID_TEMP_TOO_HIGH));
159
+          StatusScreen::setStatusMessage(GET_TEXT_F(MSG_PID_TEMP_TOO_HIGH));
160 160
           break;
161 161
         case PID_TUNING_TIMEOUT:
162
-          StatusScreen::setstatusmessagePGM(GET_TEXT(MSG_PID_TIMEOUT));
162
+          StatusScreen::setStatusMessage(GET_TEXT_F(MSG_PID_TIMEOUT));
163 163
           break;
164 164
         case PID_DONE:
165
-          StatusScreen::setstatusmessagePGM(GET_TEXT(MSG_PID_AUTOTUNE_DONE));
165
+          StatusScreen::setStatusMessage(GET_TEXT_F(MSG_PID_AUTOTUNE_DONE));
166 166
           break;
167 167
       }
168 168
       GOTO_SCREEN(StatusScreen);

Notiek ielāde…
Atcelt
Saglabāt