chiark / gitweb /
fixed sUICIDE_PIN disable
authorChristian Thalhammer <christian_thalhammer@gmx.at>
Tue, 7 Feb 2012 07:50:26 +0000 (08:50 +0100)
committerChristian Thalhammer <christian_thalhammer@gmx.at>
Tue, 7 Feb 2012 07:50:26 +0000 (08:50 +0100)
Marlin/Marlin.pde

index 824a57d7808c8dcebd45e261f568b638fe121b52..d156ff5cc20373e3cbf2dca60a728fd6f7d18f35 100644 (file)
@@ -237,11 +237,9 @@ void setup_photpin()
 void setup_powerhold()
 {
  #ifdef SUICIDE_PIN
-    #if (SUICIDE_PIN> -1) 
       SET_OUTPUT(SUICIDE_PIN);
       WRITE(SUICIDE_PIN, HIGH);
-    #endif
-  #endif
+     #endif
 }
 
 void suicide()