@@ -149,7 +149,7 @@ void DGUSScreenHandler::loop() {
149
149
void DGUSScreenHandler::printerKilled (FSTR_P const error, FSTR_P const component) {
150
150
setMessageLine (error, 1 );
151
151
setMessageLine (component, 2 );
152
- setMessageLinePGM (NUL_STR, 3 );
152
+ setMessageLine_P (NUL_STR, 3 );
153
153
setMessageLine (GET_TEXT_F (MSG_PLEASE_RESET), 4 );
154
154
155
155
dgus.playSound (3 , 1 , 200 );
@@ -158,10 +158,10 @@ void DGUSScreenHandler::printerKilled(FSTR_P const error, FSTR_P const component
158
158
}
159
159
160
160
void DGUSScreenHandler::userConfirmRequired (const char * const msg) {
161
- setMessageLinePGM (NUL_STR, 1 );
161
+ setMessageLine_P (NUL_STR, 1 );
162
162
setMessageLine (msg, 2 );
163
- setMessageLinePGM (NUL_STR, 3 );
164
- setMessageLinePGM (NUL_STR, 4 );
163
+ setMessageLine_P (NUL_STR, 3 );
164
+ setMessageLine_P (NUL_STR, 4 );
165
165
166
166
dgus.playSound (3 );
167
167
@@ -351,7 +351,7 @@ void DGUSScreenHandler::setMessageLine(const char * const msg, const uint8_t lin
351
351
}
352
352
}
353
353
354
- void DGUSScreenHandler::setMessageLinePGM (PGM_P const msg, const uint8_t line) {
354
+ void DGUSScreenHandler::setMessageLine_P (PGM_P const msg, const uint8_t line) {
355
355
switch (line) {
356
356
default : return ;
357
357
case 1 :
@@ -389,10 +389,10 @@ void DGUSScreenHandler::showWaitScreen(const DGUS_ScreenID return_screenID, cons
389
389
}
390
390
391
391
void DGUSScreenHandler::showWaitScreen (FSTR_P const msg, const DGUS_ScreenID return_screenID, const bool has_continue/* =false*/ ) {
392
- setMessageLinePGM (NUL_STR, 1 );
392
+ setMessageLine_P (NUL_STR, 1 );
393
393
setMessageLine (msg, 2 );
394
- setMessageLinePGM (NUL_STR, 3 );
395
- setMessageLinePGM (NUL_STR, 4 );
394
+ setMessageLine_P (NUL_STR, 3 );
395
+ setMessageLine_P (NUL_STR, 4 );
396
396
showWaitScreen (return_screenID, has_continue);
397
397
}
398
398
0 commit comments