PWM pin not needed for Neopixel brightness / submenu (#16345)
This commit is contained in:
parent
a2cda631d9
commit
c75b560604
|
@ -358,7 +358,11 @@ void menu_configuration() {
|
|||
//
|
||||
#if ENABLED(CASE_LIGHT_MENU)
|
||||
#if DISABLED(CASE_LIGHT_NO_BRIGHTNESS)
|
||||
if (PWM_PIN(CASE_LIGHT_PIN))
|
||||
if (true
|
||||
#if DISABLED(CASE_LIGHT_USE_NEOPIXEL)
|
||||
&& PWM_PIN(CASE_LIGHT_PIN)
|
||||
#endif
|
||||
)
|
||||
SUBMENU(MSG_CASE_LIGHT, menu_case_light);
|
||||
else
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue