diff --git a/Marlin/Conditionals_post.h b/Marlin/Conditionals_post.h index dced199ba5c018c9aded759a9993d7637f15119c..797be835bacfe8bb90eedd713198517f9a04f1bd 100644 --- a/Marlin/Conditionals_post.h +++ b/Marlin/Conditionals_post.h @@ -726,4 +726,9 @@ #define HAS_FOLDER_SORTING (FOLDER_SORTING || ENABLED(SDSORT_GCODE)) #endif + // LCD timeout to status screen default is 15s + #ifndef LCD_TIMEOUT_TO_STATUS + #define LCD_TIMEOUT_TO_STATUS 15000 + #endif + #endif // CONDITIONALS_POST_H diff --git a/Marlin/Configuration_adv.h b/Marlin/Configuration_adv.h index 42b6d06349debb5fe33a239d366d69fe018b1334..8c08c28f7321a2d97cd4016db3a4f5f7a74b83a5 100644 --- a/Marlin/Configuration_adv.h +++ b/Marlin/Configuration_adv.h @@ -425,6 +425,9 @@ // On the Info Screen, display XY with one decimal place when possible //#define LCD_DECIMAL_SMALL_XY +// The timeout (in ms) to return to the status screen from sub-menus +//#define LCD_TIMEOUT_TO_STATUS 15000 + #if ENABLED(SDSUPPORT) // Some RAMPS and other boards don't detect when an SD card is inserted. You can work diff --git a/Marlin/ultralcd.h b/Marlin/ultralcd.h index f5b54f96d1e2c80769fe30cbacc67774f54da2cb..8dd2825a36856b380e6332d63d5bb51ff8902117 100644 --- a/Marlin/ultralcd.h +++ b/Marlin/ultralcd.h @@ -65,7 +65,6 @@ #define LCD_ALERTMESSAGEPGM(x) lcd_setalertstatuspgm(PSTR(x)) #define LCD_UPDATE_INTERVAL 100 - #define LCD_TIMEOUT_TO_STATUS 15000 #if ENABLED(ULTIPANEL)