fixed sUICIDE_PIN disable
This commit is contained in:
parent
25cd8af536
commit
b5fae1104b
1 changed files with 1 additions and 3 deletions
|
@ -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()
|
||||||
|
|
Reference in a new issue