From 955d14acb090366f7733425c1ab2c9c6b068f50e Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Tue, 1 Nov 2016 06:24:21 -0500 Subject: [PATCH] Patch photo pin code style --- Marlin/Marlin_main.cpp | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index a0f2b900df..0e267def62 100755 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -861,12 +861,6 @@ void setup_homepin(void) { #endif } -void setup_photpin() { - #if HAS_PHOTOGRAPH - OUT_WRITE(PHOTOGRAPH_PIN, LOW); - #endif -} - #if HAS_CASE_LIGHT void setup_case_light() { @@ -9745,9 +9739,12 @@ void setup() { #endif stepper.init(); // Initialize stepper, this enables interrupts! - setup_photpin(); servo_init(); + #if HAS_PHOTOGRAPH + OUT_WRITE(PHOTOGRAPH_PIN, LOW); + #endif + #if HAS_CASE_LIGHT setup_case_light(); #endif