Browse Source

Patch photo pin code style

Scott Lahteine 8 years ago
parent
commit
955d14acb0
1 changed files with 4 additions and 7 deletions
  1. 4
    7
      Marlin/Marlin_main.cpp

+ 4
- 7
Marlin/Marlin_main.cpp View File

861
   #endif
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
 #if HAS_CASE_LIGHT
864
 #if HAS_CASE_LIGHT
871
 
865
 
872
   void setup_case_light() {
866
   void setup_case_light() {
9745
   #endif
9739
   #endif
9746
 
9740
 
9747
   stepper.init();    // Initialize stepper, this enables interrupts!
9741
   stepper.init();    // Initialize stepper, this enables interrupts!
9748
-  setup_photpin();
9749
   servo_init();
9742
   servo_init();
9750
 
9743
 
9744
+  #if HAS_PHOTOGRAPH
9745
+    OUT_WRITE(PHOTOGRAPH_PIN, LOW);
9746
+  #endif
9747
+
9751
   #if HAS_CASE_LIGHT
9748
   #if HAS_CASE_LIGHT
9752
     setup_case_light();
9749
     setup_case_light();
9753
   #endif
9750
   #endif

Loading…
Cancel
Save