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()
|
||||
{
|
||||
#ifdef SUICIDE_PIN
|
||||
#if (SUICIDE_PIN> -1)
|
||||
SET_OUTPUT(SUICIDE_PIN);
|
||||
WRITE(SUICIDE_PIN, HIGH);
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
void suicide()
|
||||
|
|
Reference in a new issue