Browse Source

Initialize PS_ON at startup

pull/1/head
Nicolas Rossi 12 years ago
parent
commit
437eb3bafc
  1. 4
      Marlin/Marlin_main.cpp

4
Marlin/Marlin_main.cpp

@ -294,6 +294,10 @@ void setup_powerhold()
WRITE(SUICIDE_PIN, HIGH); WRITE(SUICIDE_PIN, HIGH);
#endif #endif
#endif #endif
#if (PS_ON_PIN > -1)
SET_OUTPUT(PS_ON_PIN);
WRITE(PS_ON_PIN, PS_ON_AWAKE);
#endif
} }
void suicide() void suicide()

Loading…
Cancel
Save