Allow suicide pin inverting (#15586)

This commit is contained in:
InsanityAutomation
2019-10-24 15:07:28 -04:00
committed by Scott Lahteine
parent 2a7e1d459f
commit 82fb046013
5 changed files with 25 additions and 10 deletions

View File

@@ -217,7 +217,7 @@ void setup_killpin() {
void setup_powerhold() {
#if HAS_SUICIDE
OUT_WRITE(SUICIDE_PIN, HIGH);
OUT_WRITE(SUICIDE_PIN, !SUICIDE_PIN_INVERTING);
#endif
#if ENABLED(PSU_CONTROL)
#if ENABLED(PS_DEFAULT_OFF)