Browse Source

fixed sUICIDE_PIN disable

Christian Thalhammer 12 years ago
parent
commit
b5fae1104b
1 changed files with 1 additions and 3 deletions
  1. 1
    3
      Marlin/Marlin.pde

+ 1
- 3
Marlin/Marlin.pde View File

@@ -237,11 +237,9 @@ void setup_photpin()
237 237
 void setup_powerhold()
238 238
 {
239 239
  #ifdef SUICIDE_PIN
240
-    #if (SUICIDE_PIN> -1) 
241 240
       SET_OUTPUT(SUICIDE_PIN);
242 241
       WRITE(SUICIDE_PIN, HIGH);
243
-    #endif
244
-  #endif
242
+     #endif
245 243
 }
246 244
 
247 245
 void suicide()

Loading…
Cancel
Save