fixed sUICIDE_PIN disable

master
Christian Thalhammer 13 years ago
parent 25cd8af536
commit b5fae1104b

@ -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()

Loading…
Cancel
Save