Turbo-back Info menu items (#15049)
This commit is contained in:
parent
d6a16525c2
commit
8033bc87ea
1 changed files with 20 additions and 4 deletions
|
@ -42,7 +42,11 @@
|
|||
// About Printer > Printer Stats
|
||||
//
|
||||
void menu_info_stats() {
|
||||
if (ui.use_click()) return ui.goto_previous_screen();
|
||||
if (ui.use_click()) return ui.goto_previous_screen(
|
||||
#if ENABLED(TURBO_BACK_MENU_ITEM)
|
||||
true
|
||||
#endif
|
||||
);
|
||||
|
||||
char buffer[21];
|
||||
printStatistics stats = print_job_timer.getStats();
|
||||
|
@ -95,7 +99,11 @@
|
|||
// About Printer > Thermistors
|
||||
//
|
||||
void menu_info_thermistors() {
|
||||
if (ui.use_click()) return ui.goto_previous_screen();
|
||||
if (ui.use_click()) return ui.goto_previous_screen(
|
||||
#if ENABLED(TURBO_BACK_MENU_ITEM)
|
||||
true
|
||||
#endif
|
||||
);
|
||||
START_SCREEN();
|
||||
#define THERMISTOR_ID TEMP_SENSOR_0
|
||||
#include "../thermistornames.h"
|
||||
|
@ -163,7 +171,11 @@ void menu_info_thermistors() {
|
|||
// About Printer > Board Info
|
||||
//
|
||||
void menu_info_board() {
|
||||
if (ui.use_click()) return ui.goto_previous_screen();
|
||||
if (ui.use_click()) return ui.goto_previous_screen(
|
||||
#if ENABLED(TURBO_BACK_MENU_ITEM)
|
||||
true
|
||||
#endif
|
||||
);
|
||||
START_SCREEN();
|
||||
STATIC_ITEM(BOARD_INFO_NAME, true, true); // MyPrinterController
|
||||
STATIC_ITEM(MSG_INFO_BAUDRATE ": " STRINGIFY(BAUDRATE), true); // Baud: 250000
|
||||
|
@ -177,7 +189,11 @@ void menu_info_board() {
|
|||
//
|
||||
#if DISABLED(LCD_PRINTER_INFO_IS_BOOTSCREEN)
|
||||
void menu_info_printer() {
|
||||
if (ui.use_click()) return ui.goto_previous_screen();
|
||||
if (ui.use_click()) return ui.goto_previous_screen(
|
||||
#if ENABLED(TURBO_BACK_MENU_ITEM)
|
||||
true
|
||||
#endif
|
||||
);
|
||||
START_SCREEN();
|
||||
STATIC_ITEM(MSG_MARLIN, true, true); // Marlin
|
||||
STATIC_ITEM(SHORT_BUILD_VERSION, true); // x.x.x-Branch
|
||||
|
|
Reference in a new issue