From d609489b22443bac1d253e7480d8d5d7d8af733f Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sun, 2 Jul 2017 02:26:49 -0500 Subject: [PATCH] Drop setup_homepin --- Marlin/Marlin_main.cpp | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index c280c10027..81fdda8047 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -906,12 +906,6 @@ void setup_killpin() { #endif -void setup_homepin(void) { - #if HAS_HOME - SET_INPUT_PULLUP(HOME_PIN); - #endif -} - void setup_powerhold() { #if HAS_SUICIDE OUT_WRITE(SUICIDE_PIN, HIGH); @@ -13008,7 +13002,9 @@ void setup() { OUT_WRITE(SOL1_PIN, LOW); // turn it off #endif - setup_homepin(); + #if HAS_HOME + SET_INPUT_PULLUP(HOME_PIN); + #endif #if PIN_EXISTS(STAT_LED_RED) OUT_WRITE(STAT_LED_RED_PIN, LOW); // turn it off