Browse Source

Merge pull request #5930 from thinkyhead/rc_lcd_timeout_config

Make LCD_TIMEOUT_TO_STATUS configurable
pull/1/head
Scott Lahteine 8 years ago
committed by GitHub
parent
commit
05b217c0d0
  1. 5
      Marlin/Conditionals_post.h
  2. 3
      Marlin/Configuration_adv.h
  3. 1
      Marlin/ultralcd.h

5
Marlin/Conditionals_post.h

@ -726,4 +726,9 @@
#define HAS_FOLDER_SORTING (FOLDER_SORTING || ENABLED(SDSORT_GCODE)) #define HAS_FOLDER_SORTING (FOLDER_SORTING || ENABLED(SDSORT_GCODE))
#endif #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 #endif // CONDITIONALS_POST_H

3
Marlin/Configuration_adv.h

@ -425,6 +425,9 @@
// On the Info Screen, display XY with one decimal place when possible // On the Info Screen, display XY with one decimal place when possible
//#define LCD_DECIMAL_SMALL_XY //#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) #if ENABLED(SDSUPPORT)
// Some RAMPS and other boards don't detect when an SD card is inserted. You can work // Some RAMPS and other boards don't detect when an SD card is inserted. You can work

1
Marlin/ultralcd.h

@ -65,7 +65,6 @@
#define LCD_ALERTMESSAGEPGM(x) lcd_setalertstatuspgm(PSTR(x)) #define LCD_ALERTMESSAGEPGM(x) lcd_setalertstatuspgm(PSTR(x))
#define LCD_UPDATE_INTERVAL 100 #define LCD_UPDATE_INTERVAL 100
#define LCD_TIMEOUT_TO_STATUS 15000
#if ENABLED(ULTIPANEL) #if ENABLED(ULTIPANEL)

Loading…
Cancel
Save