Stop print menu save bytes
This commit is contained in:
parent
0c9bf5d435
commit
15f8e629c3
|
|
@ -5777,18 +5777,11 @@ void lcd_thermal_model_cal()
|
||||||
|
|
||||||
void lcd_sdcard_stop()
|
void lcd_sdcard_stop()
|
||||||
{
|
{
|
||||||
// Show static message
|
if (lcd_show_fullscreen_message_yes_no_and_wait_P(_T(MSG_STOP_PRINT), true, LCD_MIDDLE_BUTTON_CHOICE) == LCD_LEFT_BUTTON_CHOICE) {
|
||||||
lcd_puts_at_P(0, 0, _T(MSG_STOP_PRINT));
|
lcd_print_stop();
|
||||||
lcd_putc_at(0, 1, '\n');
|
} else {
|
||||||
|
lcd_return_to_status();
|
||||||
MENU_BEGIN();
|
}
|
||||||
// Skip first two LCD rows used by static message
|
|
||||||
if(menu_row == 0) menu_row = 2;
|
|
||||||
|
|
||||||
// Show No options first, the default selection
|
|
||||||
MENU_ITEM_FUNCTION_P(_T(MSG_NO), lcd_return_to_status);
|
|
||||||
MENU_ITEM_FUNCTION_P(_T(MSG_YES), lcd_print_stop);
|
|
||||||
MENU_END();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void lcd_sdcard_menu()
|
void lcd_sdcard_menu()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue