PWM pin not needed for Neopixel brightness / submenu (#16345)

2.0.x
randellhodges 5 years ago committed by Scott Lahteine
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…
Cancel
Save