Fix case light on boot (#12919)
This commit is contained in:
parent
f11c6d5d02
commit
8f4c6e6d1a
@ -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…
Reference in New Issue
Block a user