|
|
|
|
3106
|
* Display Sleep is not supported by these common displays
|
3106
|
* Display Sleep is not supported by these common displays
|
3107
|
*/
|
3107
|
*/
|
3108
|
#if HAS_DISPLAY_SLEEP
|
3108
|
#if HAS_DISPLAY_SLEEP
|
3109
|
- #if ANY(IS_U8GLIB_LM6059_AF, IS_U8GLIB_ST7565_64128, REPRAPWORLD_GRAPHICAL_LCD, FYSETC_MINI, ENDER2_STOCKDISPLAY, MINIPANEL)
|
|
|
|
|
3109
|
+ #if ANY(IS_U8GLIB_LM6059_AF, IS_U8GLIB_ST7565_64128, REPRAPWORLD_GRAPHICAL_LCD, FYSETC_MINI, CR10_STOCKDISPLAY, ENDER2_STOCKDISPLAY, MINIPANEL)
|
3110
|
#error "DISPLAY_SLEEP_MINUTES is not supported by your display."
|
3110
|
#error "DISPLAY_SLEEP_MINUTES is not supported by your display."
|
3111
|
#elif !WITHIN(DISPLAY_SLEEP_MINUTES, 0, 255)
|
3111
|
#elif !WITHIN(DISPLAY_SLEEP_MINUTES, 0, 255)
|
3112
|
#error "DISPLAY_SLEEP_MINUTES must be between 0 and 255."
|
3112
|
#error "DISPLAY_SLEEP_MINUTES must be between 0 and 255."
|