smaller changes

This commit is contained in:
Christian Thalhammer
2012-02-13 12:31:53 +01:00
parent 4cc8e37bf1
commit 0e3631ff4b
3 changed files with 301 additions and 85 deletions

View File

@@ -237,9 +237,11 @@ 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()