mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 13:56:24 +00:00
Initialize PS_ON at startup
This commit is contained in:
parent
f3c1fc70a9
commit
437eb3bafc
@ -294,6 +294,10 @@ void setup_powerhold()
|
|||||||
WRITE(SUICIDE_PIN, HIGH);
|
WRITE(SUICIDE_PIN, HIGH);
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
#if (PS_ON_PIN > -1)
|
||||||
|
SET_OUTPUT(PS_ON_PIN);
|
||||||
|
WRITE(PS_ON_PIN, PS_ON_AWAKE);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void suicide()
|
void suicide()
|
||||||
|
Loading…
Reference in New Issue
Block a user