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