🐛 Fix conditional M81 suicide (#23549)
This commit is contained in:
committed by
Scott Lahteine
parent
6f82d1befb
commit
7b4f5108ac
@ -193,7 +193,9 @@
|
||||
//
|
||||
#if ENABLED(MKS_PWC)
|
||||
#if ENABLED(TFT_LVGL_UI)
|
||||
#undef PSU_CONTROL
|
||||
#if ENABLED(PSU_CONTROL)
|
||||
#error "PSU_CONTROL is incompatible with MKS_PWC plus TFT_LVGL_UI."
|
||||
#endif
|
||||
#undef MKS_PWC
|
||||
#define SUICIDE_PIN PB2
|
||||
#define SUICIDE_PIN_STATE LOW
|
||||
|
@ -118,7 +118,9 @@
|
||||
//
|
||||
#if ENABLED(MKS_PWC)
|
||||
#if ENABLED(TFT_LVGL_UI)
|
||||
#undef PSU_CONTROL
|
||||
#if ENABLED(PSU_CONTROL)
|
||||
#error "PSU_CONTROL is incompatible with MKS_PWC plus TFT_LVGL_UI."
|
||||
#endif
|
||||
#undef MKS_PWC
|
||||
#define SUICIDE_PIN PB2
|
||||
#define SUICIDE_PIN_STATE LOW
|
||||
|
@ -185,7 +185,9 @@
|
||||
//
|
||||
#if ENABLED(MKS_PWC)
|
||||
#if ENABLED(TFT_LVGL_UI)
|
||||
#undef PSU_CONTROL
|
||||
#if ENABLED(PSU_CONTROL)
|
||||
#error "PSU_CONTROL is incompatible with MKS_PWC plus TFT_LVGL_UI."
|
||||
#endif
|
||||
#undef MKS_PWC
|
||||
#define SUICIDE_PIN PG11
|
||||
#define SUICIDE_PIN_STATE LOW
|
||||
|
Reference in New Issue
Block a user