Patch photo pin code style

This commit is contained in:
Scott Lahteine 2016-11-01 06:24:21 -05:00
parent ab3f966f5f
commit 955d14acb0

View file

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