Browse Source

✏️ Fix LCD sleep conditional (#24685)

Lefteris Garyfalakis 2 years ago
parent
commit
15a100dafa
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/inc/Conditionals_adv.h

+ 1
- 1
Marlin/src/inc/Conditionals_adv.h View File

647
 #if ALL(HAS_RESUME_CONTINUE, PRINTER_EVENT_LEDS, SDSUPPORT)
647
 #if ALL(HAS_RESUME_CONTINUE, PRINTER_EVENT_LEDS, SDSUPPORT)
648
   #define HAS_LEDS_OFF_FLAG 1
648
   #define HAS_LEDS_OFF_FLAG 1
649
 #endif
649
 #endif
650
-#ifdef DISPLAY_SLEEP_MINUTES || TOUCH_IDLE_SLEEP_MINS
650
+#if DISPLAY_SLEEP_MINUTES || TOUCH_IDLE_SLEEP_MINS
651
   #define HAS_DISPLAY_SLEEP 1
651
   #define HAS_DISPLAY_SLEEP 1
652
 #endif
652
 #endif
653
 #if HAS_DISPLAY_SLEEP || LCD_BACKLIGHT_TIMEOUT_MINS
653
 #if HAS_DISPLAY_SLEEP || LCD_BACKLIGHT_TIMEOUT_MINS

Loading…
Cancel
Save