Procházet zdrojové kódy

Fix setStatusMessage calls (#17879)

Marcio T před 4 roky
rodič
revize
98196673aa
No account linked to committer's email address

+ 4
- 4
Marlin/src/lcd/extui/lib/ftdi_eve_touch_ui/marlin_events.cpp Zobrazit soubor

@@ -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);

Loading…
Zrušit
Uložit