Browse Source

Initialize PS_ON at startup

Nicolas Rossi 12 years ago
parent
commit
437eb3bafc
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      Marlin/Marlin_main.cpp

+ 4
- 0
Marlin/Marlin_main.cpp View File

@@ -294,6 +294,10 @@ void setup_powerhold()
294 294
       WRITE(SUICIDE_PIN, HIGH);
295 295
    #endif
296 296
  #endif
297
+ #if (PS_ON_PIN > -1)
298
+   SET_OUTPUT(PS_ON_PIN);
299
+   WRITE(PS_ON_PIN, PS_ON_AWAKE);
300
+ #endif
297 301
 }
298 302
 
299 303
 void suicide()

Loading…
Cancel
Save