Browse Source

Add "Brightness" to Tune menu

leptun 5 years ago
parent
commit
d7b12faa95
1 changed files with 6 additions and 1 deletions
  1. 6 1
      Firmware/ultralcd.cpp

+ 6 - 1
Firmware/ultralcd.cpp

@@ -7119,7 +7119,12 @@ static void lcd_tune_menu()
           default:
                MENU_ITEM_FUNCTION_P(_i(MSG_SOUND_MODE_LOUD),lcd_sound_state_set);
           }
-
+#ifdef LCD_BL_PIN
+    if (backlightSupport)
+    {
+        MENU_ITEM_SUBMENU_P(_i("Brightness"), lcd_backlight_menu);
+    }
+#endif //LCD_BL_PIN
 	MENU_END();
 }