fixed sUICIDE_PIN disable

This commit is contained in:
Christian Thalhammer 2012-02-07 08:50:26 +01:00
parent 25cd8af536
commit b5fae1104b

View file

@ -237,11 +237,9 @@ void setup_photpin()
void setup_powerhold() void setup_powerhold()
{ {
#ifdef SUICIDE_PIN #ifdef SUICIDE_PIN
#if (SUICIDE_PIN> -1)
SET_OUTPUT(SUICIDE_PIN); SET_OUTPUT(SUICIDE_PIN);
WRITE(SUICIDE_PIN, HIGH); WRITE(SUICIDE_PIN, HIGH);
#endif #endif
#endif
} }
void suicide() void suicide()