Browse Source

Fix setStatusMessage calls (#17879)

Marcio T 4 years ago
parent
commit
98196673aa
No account linked to committer's email address
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      Marlin/src/lcd/extui/lib/ftdi_eve_touch_ui/marlin_events.cpp

+ 4
- 4
Marlin/src/lcd/extui/lib/ftdi_eve_touch_ui/marlin_events.cpp View File

153
       //SERIAL_ECHOLNPAIR("OnPidTuning:", rst);
153
       //SERIAL_ECHOLNPAIR("OnPidTuning:", rst);
154
       switch (rst) {
154
       switch (rst) {
155
         case PID_BAD_EXTRUDER_NUM:
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
           break;
157
           break;
158
         case PID_TEMP_TOO_HIGH:
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
           break;
160
           break;
161
         case PID_TUNING_TIMEOUT:
161
         case PID_TUNING_TIMEOUT:
162
-          StatusScreen::setstatusmessagePGM(GET_TEXT(MSG_PID_TIMEOUT));
162
+          StatusScreen::setStatusMessage(GET_TEXT_F(MSG_PID_TIMEOUT));
163
           break;
163
           break;
164
         case PID_DONE:
164
         case PID_DONE:
165
-          StatusScreen::setstatusmessagePGM(GET_TEXT(MSG_PID_AUTOTUNE_DONE));
165
+          StatusScreen::setStatusMessage(GET_TEXT_F(MSG_PID_AUTOTUNE_DONE));
166
           break;
166
           break;
167
       }
167
       }
168
       GOTO_SCREEN(StatusScreen);
168
       GOTO_SCREEN(StatusScreen);

Loading…
Cancel
Save