Patch photo pin code style

2.0.x
Scott Lahteine 8 years ago
parent ab3f966f5f
commit 955d14acb0

@ -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