✨ Configurable FREEZE pin state (#23944)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
@@ -2824,17 +2824,9 @@
|
||||
#endif
|
||||
|
||||
// User Interface
|
||||
#if ENABLED(FREEZE_FEATURE)
|
||||
#if !PIN_EXISTS(FREEZE) && PIN_EXISTS(KILL)
|
||||
#define FREEZE_PIN KILL_PIN
|
||||
#endif
|
||||
#if PIN_EXISTS(FREEZE)
|
||||
#define HAS_FREEZE_PIN 1
|
||||
#endif
|
||||
#else
|
||||
#undef FREEZE_PIN
|
||||
#endif
|
||||
#if PIN_EXISTS(KILL) && TERN1(FREEZE_FEATURE, KILL_PIN != FREEZE_PIN)
|
||||
#if ENABLED(FREEZE_FEATURE) && !PIN_EXISTS(FREEZE) && PIN_EXISTS(KILL)
|
||||
#define FREEZE_PIN KILL_PIN
|
||||
#elif PIN_EXISTS(KILL) && TERN1(FREEZE_FEATURE, KILL_PIN != FREEZE_PIN)
|
||||
#define HAS_KILL 1
|
||||
#endif
|
||||
#if PIN_EXISTS(HOME)
|
||||
|
||||
Reference in New Issue
Block a user