Browse Source

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

pull/1/head
randellhodges 5 years ago
committed by Scott Lahteine
parent
commit
c75b560604
  1. 6
      Marlin/src/lcd/menu/menu_configuration.cpp

6
Marlin/src/lcd/menu/menu_configuration.cpp

@ -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