Browse Source

Fix case light on boot (#12919)

Giuliano Zaro 6 years ago
parent
commit
8f4c6e6d1a
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      Marlin/src/Marlin.cpp

+ 4
- 4
Marlin/src/Marlin.cpp View File

809
     OUT_WRITE(PHOTOGRAPH_PIN, LOW);
809
     OUT_WRITE(PHOTOGRAPH_PIN, LOW);
810
   #endif
810
   #endif
811
 
811
 
812
-  #if HAS_CASE_LIGHT
813
-    update_case_light();
814
-  #endif
815
-
816
   #if ENABLED(SPINDLE_LASER_ENABLE)
812
   #if ENABLED(SPINDLE_LASER_ENABLE)
817
     OUT_WRITE(SPINDLE_LASER_ENABLE_PIN, !SPINDLE_LASER_ENABLE_INVERT);  // init spindle to off
813
     OUT_WRITE(SPINDLE_LASER_ENABLE_PIN, !SPINDLE_LASER_ENABLE_INVERT);  // init spindle to off
818
     #if SPINDLE_DIR_CHANGE
814
     #if SPINDLE_DIR_CHANGE
873
     #endif
869
     #endif
874
   #endif
870
   #endif
875
 
871
 
872
+  #if HAS_CASE_LIGHT
873
+    update_case_light();
874
+  #endif
875
+
876
   #if ENABLED(MK2_MULTIPLEXER)
876
   #if ENABLED(MK2_MULTIPLEXER)
877
     SET_OUTPUT(E_MUX0_PIN);
877
     SET_OUTPUT(E_MUX0_PIN);
878
     SET_OUTPUT(E_MUX1_PIN);
878
     SET_OUTPUT(E_MUX1_PIN);

Loading…
Cancel
Save