浏览代码

Patch photo pin code style

Scott Lahteine 9 年前
父节点
当前提交
955d14acb0
共有 1 个文件被更改,包括 4 次插入7 次删除
  1. 4
    7
      Marlin/Marlin_main.cpp

+ 4
- 7
Marlin/Marlin_main.cpp 查看文件

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

正在加载...
取消
保存