Browse Source

Patch photo pin code style

pull/1/head
Scott Lahteine 8 years ago
parent
commit
955d14acb0
  1. 11
      Marlin/Marlin_main.cpp

11
Marlin/Marlin_main.cpp

@ -861,12 +861,6 @@ void setup_homepin(void) {
#endif #endif
} }
void setup_photpin() {
#if HAS_PHOTOGRAPH
OUT_WRITE(PHOTOGRAPH_PIN, LOW);
#endif
}
#if HAS_CASE_LIGHT #if HAS_CASE_LIGHT
void setup_case_light() { void setup_case_light() {
@ -9745,9 +9739,12 @@ void setup() {
#endif #endif
stepper.init(); // Initialize stepper, this enables interrupts! stepper.init(); // Initialize stepper, this enables interrupts!
setup_photpin();
servo_init(); servo_init();
#if HAS_PHOTOGRAPH
OUT_WRITE(PHOTOGRAPH_PIN, LOW);
#endif
#if HAS_CASE_LIGHT #if HAS_CASE_LIGHT
setup_case_light(); setup_case_light();
#endif #endif

Loading…
Cancel
Save