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 ENABLED(CASE_LIGHT_MENU)
|
||||||
#if DISABLED(CASE_LIGHT_NO_BRIGHTNESS)
|
#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);
|
SUBMENU(MSG_CASE_LIGHT, menu_case_light);
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user