|
|
|
@ -211,10 +211,12 @@ static void lcd_factory_settings() {
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#if ENABLED(MENU_ITEM_CASE_LIGHT)
|
|
|
|
|
#if ENABLED(CASE_LIGHT_MENU)
|
|
|
|
|
|
|
|
|
|
#include "../../feature/caselight.h"
|
|
|
|
|
|
|
|
|
|
#if DISABLED(CASE_LIGHT_NO_BRIGHTNESS)
|
|
|
|
|
|
|
|
|
|
void menu_case_light() {
|
|
|
|
|
START_MENU();
|
|
|
|
|
MENU_BACK(MSG_CONFIGURATION);
|
|
|
|
@ -225,6 +227,8 @@ static void lcd_factory_settings() {
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#if ENABLED(FWRETRACT)
|
|
|
|
|
|
|
|
|
|
#include "../../feature/fwretract.h"
|
|
|
|
@ -347,10 +351,12 @@ void menu_configuration() {
|
|
|
|
|
//
|
|
|
|
|
// Set Case light on/off/brightness
|
|
|
|
|
//
|
|
|
|
|
#if ENABLED(MENU_ITEM_CASE_LIGHT)
|
|
|
|
|
#if ENABLED(CASE_LIGHT_MENU)
|
|
|
|
|
#if DISABLED(CASE_LIGHT_NO_BRIGHTNESS)
|
|
|
|
|
if (PWM_PIN(CASE_LIGHT_PIN))
|
|
|
|
|
MENU_ITEM(submenu, MSG_CASE_LIGHT, menu_case_light);
|
|
|
|
|
else
|
|
|
|
|
#endif
|
|
|
|
|
MENU_ITEM_EDIT_CALLBACK(bool, MSG_CASE_LIGHT, (bool*)&case_light_on, update_case_light);
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|