Browse Source

Fix case light on boot (#12919)

pull/1/head
Giuliano Zaro 6 years ago
committed by Scott Lahteine
parent
commit
8f4c6e6d1a
  1. 8
      Marlin/src/Marlin.cpp

8
Marlin/src/Marlin.cpp

@ -809,10 +809,6 @@ void setup() {
OUT_WRITE(PHOTOGRAPH_PIN, LOW); OUT_WRITE(PHOTOGRAPH_PIN, LOW);
#endif #endif
#if HAS_CASE_LIGHT
update_case_light();
#endif
#if ENABLED(SPINDLE_LASER_ENABLE) #if ENABLED(SPINDLE_LASER_ENABLE)
OUT_WRITE(SPINDLE_LASER_ENABLE_PIN, !SPINDLE_LASER_ENABLE_INVERT); // init spindle to off OUT_WRITE(SPINDLE_LASER_ENABLE_PIN, !SPINDLE_LASER_ENABLE_INVERT); // init spindle to off
#if SPINDLE_DIR_CHANGE #if SPINDLE_DIR_CHANGE
@ -873,6 +869,10 @@ void setup() {
#endif #endif
#endif #endif
#if HAS_CASE_LIGHT
update_case_light();
#endif
#if ENABLED(MK2_MULTIPLEXER) #if ENABLED(MK2_MULTIPLEXER)
SET_OUTPUT(E_MUX0_PIN); SET_OUTPUT(E_MUX0_PIN);
SET_OUTPUT(E_MUX1_PIN); SET_OUTPUT(E_MUX1_PIN);

Loading…
Cancel
Save