Fix case light on boot (#12919)

This commit is contained in:
Giuliano Zaro 2019-01-16 01:50:56 +01:00 committed by Scott Lahteine
parent f11c6d5d02
commit 8f4c6e6d1a

View file

@ -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);