From 8f4c6e6d1a271cc0d1d310243941f4b6ce1cc863 Mon Sep 17 00:00:00 2001 From: Giuliano Zaro <3684609+GMagician@users.noreply.github.com> Date: Wed, 16 Jan 2019 01:50:56 +0100 Subject: [PATCH] Fix case light on boot (#12919) --- Marlin/src/Marlin.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Marlin/src/Marlin.cpp b/Marlin/src/Marlin.cpp index 72e59c3e4..bf98f8527 100644 --- a/Marlin/src/Marlin.cpp +++ b/Marlin/src/Marlin.cpp @@ -809,10 +809,6 @@ void setup() { OUT_WRITE(PHOTOGRAPH_PIN, LOW); #endif - #if HAS_CASE_LIGHT - update_case_light(); - #endif - #if ENABLED(SPINDLE_LASER_ENABLE) OUT_WRITE(SPINDLE_LASER_ENABLE_PIN, !SPINDLE_LASER_ENABLE_INVERT); // init spindle to off #if SPINDLE_DIR_CHANGE @@ -873,6 +869,10 @@ void setup() { #endif #endif + #if HAS_CASE_LIGHT + update_case_light(); + #endif + #if ENABLED(MK2_MULTIPLEXER) SET_OUTPUT(E_MUX0_PIN); SET_OUTPUT(E_MUX1_PIN);