From 88157ba52902c4bebd0e259bc5a0b54b7b605c3d Mon Sep 17 00:00:00 2001
From: esenapaj <creation0004@gmail.com>
Date: Fri, 16 Dec 2016 00:57:32 +0900
Subject: [PATCH] Fix for the PR #5255 (Case light menu (3rd attempt))

---
 Marlin/Marlin_main.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp
index 66e9ecdcd1..235fc0d05f 100755
--- a/Marlin/Marlin_main.cpp
+++ b/Marlin/Marlin_main.cpp
@@ -530,7 +530,7 @@ static uint8_t target_extruder;
   ;
 #endif
 
-#if ENABLED(ULTIPANEL) && HAS_CASE_LIGHT
+#if HAS_CASE_LIGHT
   bool case_light_on =
     #if ENABLED(CASE_LIGHT_DEFAULT_ON)
       true