Przeglądaj źródła

Patch photo pin code style

Scott Lahteine 8 lat temu
rodzic
commit
955d14acb0
1 zmienionych plików z 4 dodań i 7 usunięć
  1. 4
    7
      Marlin/Marlin_main.cpp

+ 4
- 7
Marlin/Marlin_main.cpp Wyświetl plik

@@ -861,12 +861,6 @@ void setup_homepin(void) {
861 861
   #endif
862 862
 }
863 863
 
864
-void setup_photpin() {
865
-  #if HAS_PHOTOGRAPH
866
-    OUT_WRITE(PHOTOGRAPH_PIN, LOW);
867
-  #endif
868
-}
869
-
870 864
 #if HAS_CASE_LIGHT
871 865
 
872 866
   void setup_case_light() {
@@ -9745,9 +9739,12 @@ void setup() {
9745 9739
   #endif
9746 9740
 
9747 9741
   stepper.init();    // Initialize stepper, this enables interrupts!
9748
-  setup_photpin();
9749 9742
   servo_init();
9750 9743
 
9744
+  #if HAS_PHOTOGRAPH
9745
+    OUT_WRITE(PHOTOGRAPH_PIN, LOW);
9746
+  #endif
9747
+
9751 9748
   #if HAS_CASE_LIGHT
9752 9749
     setup_case_light();
9753 9750
   #endif

Ładowanie…
Anuluj
Zapisz