Remove duplicate code
msg_next is NULL, then the end of the message has been reached. Change in memory: Flash: -24 bytes SRAM: 0 bytes
This commit is contained in:
parent
5037d1edbc
commit
7529eaec44
|
|
@ -3078,7 +3078,7 @@ void lcd_show_fullscreen_message_and_wait_P(const char *msg)
|
|||
KEEPALIVE_STATE(PAUSED_FOR_USER);
|
||||
// Until confirmed by a button click.
|
||||
for (;;) {
|
||||
if (!multi_screen) {
|
||||
if (msg_next == NULL) {
|
||||
lcd_set_cursor(19, 3);
|
||||
// Display the confirm char.
|
||||
lcd_print(LCD_STR_CONFIRM[0]);
|
||||
|
|
@ -3101,12 +3101,6 @@ void lcd_show_fullscreen_message_and_wait_P(const char *msg)
|
|||
if (msg_next == NULL)
|
||||
msg_next = msg;
|
||||
msg_next = lcd_display_message_fullscreen_P(msg_next);
|
||||
if (msg_next == NULL) {
|
||||
|
||||
lcd_set_cursor(19, 3);
|
||||
// Display the confirm char.
|
||||
lcd_print(LCD_STR_CONFIRM[0]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue