Browse Source

Drop setup_homepin

Scott Lahteine 8 years ago
parent
commit
d609489b22
1 changed files with 3 additions and 7 deletions
  1. 3
    7
      Marlin/Marlin_main.cpp

+ 3
- 7
Marlin/Marlin_main.cpp View File

906
 
906
 
907
 #endif
907
 #endif
908
 
908
 
909
-void setup_homepin(void) {
910
-  #if HAS_HOME
911
-    SET_INPUT_PULLUP(HOME_PIN);
912
-  #endif
913
-}
914
-
915
 void setup_powerhold() {
909
 void setup_powerhold() {
916
   #if HAS_SUICIDE
910
   #if HAS_SUICIDE
917
     OUT_WRITE(SUICIDE_PIN, HIGH);
911
     OUT_WRITE(SUICIDE_PIN, HIGH);
13008
     OUT_WRITE(SOL1_PIN, LOW); // turn it off
13002
     OUT_WRITE(SOL1_PIN, LOW); // turn it off
13009
   #endif
13003
   #endif
13010
 
13004
 
13011
-  setup_homepin();
13005
+  #if HAS_HOME
13006
+    SET_INPUT_PULLUP(HOME_PIN);
13007
+  #endif
13012
 
13008
 
13013
   #if PIN_EXISTS(STAT_LED_RED)
13009
   #if PIN_EXISTS(STAT_LED_RED)
13014
     OUT_WRITE(STAT_LED_RED_PIN, LOW); // turn it off
13010
     OUT_WRITE(STAT_LED_RED_PIN, LOW); // turn it off

Loading…
Cancel
Save