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

@@ -368,7 +368,7 @@ bool pin_is_protected(const pin_t pin);
void protected_pin_err();
#if HAS_SUICIDE
inline void suicide() { OUT_WRITE(SUICIDE_PIN, LOW); }
inline void suicide() { OUT_WRITE(SUICIDE_PIN, SUICIDE_PIN_INVERTING); }
#endif
#if ENABLED(G29_RETRY_AND_RECOVER)