E4HD 4K Ultra: brightness now set with glcd

This commit is contained in:
BPanther
2022-11-26 22:56:55 +01:00
committed by Thilo Graf
parent 781a4d0f3a
commit ab9a60cccd

View File

@@ -48,9 +48,9 @@ hw_caps_t *get_hwcaps(void)
caps.display_yres = 320; caps.display_yres = 320;
caps.display_type = HW_DISPLAY_GFX; caps.display_type = HW_DISPLAY_GFX;
caps.display_can_umlauts = 0; // needs test caps.display_can_umlauts = 0; // needs test
caps.display_can_deepstandby = 0; // 0 because we use graphlcd/lcd4linux caps.display_can_deepstandby = 0; // 0 because we use graphlcd
caps.display_can_set_brightness = 0; // 0 because we use graphlcd/lcd4linux caps.display_can_set_brightness = 0; // 0 because we use graphlcd
caps.display_has_statusline = 0; // 0 because we use graphlcd/lcd4linux caps.display_has_statusline = 0; // 0 because we use graphlcd
caps.display_has_colon = 0; caps.display_has_colon = 0;
caps.has_button_timer = 1; caps.has_button_timer = 1;
caps.has_button_vformat = 0; caps.has_button_vformat = 0;
@@ -70,9 +70,9 @@ hw_caps_t *get_hwcaps(void)
caps.display_yres = 320; caps.display_yres = 320;
caps.display_type = HW_DISPLAY_GFX; caps.display_type = HW_DISPLAY_GFX;
caps.display_can_umlauts = 0; // needs test caps.display_can_umlauts = 0; // needs test
caps.display_can_deepstandby = 0; // 0 because we use graphlcd/lcd4linux caps.display_can_deepstandby = 0; // 0 because we use graphlcd
caps.display_can_set_brightness = 0; // 0 because we use graphlcd/lcd4linux caps.display_can_set_brightness = 0; // 0 because we use graphlcd
caps.display_has_statusline = 0; // 0 because we use graphlcd/lcd4linux caps.display_has_statusline = 0; // 0 because we use graphlcd
caps.display_has_colon = 0; caps.display_has_colon = 0;
caps.has_button_timer = 1; caps.has_button_timer = 1;
caps.has_button_vformat = 0; caps.has_button_vformat = 0;
@@ -91,9 +91,9 @@ hw_caps_t *get_hwcaps(void)
caps.display_yres = 320; caps.display_yres = 320;
caps.display_type = HW_DISPLAY_GFX; caps.display_type = HW_DISPLAY_GFX;
caps.display_can_umlauts = 0; // needs test caps.display_can_umlauts = 0; // needs test
caps.display_can_deepstandby = 0; // 0 because we use graphlcd/lcd4linux caps.display_can_deepstandby = 0; // 0 because we use graphlcd
caps.display_can_set_brightness = 0; // 0 because we use graphlcd/lcd4linux caps.display_can_set_brightness = 0; // 0 because we use graphlcd
caps.display_has_statusline = 0; // 0 because we use graphlcd/lcd4linux caps.display_has_statusline = 0; // 0 because we use graphlcd
caps.display_has_colon = 0; caps.display_has_colon = 0;
caps.has_button_timer = 1; caps.has_button_timer = 1;
caps.has_button_vformat = 0; caps.has_button_vformat = 0;
@@ -113,9 +113,9 @@ hw_caps_t *get_hwcaps(void)
caps.display_yres = 480; caps.display_yres = 480;
caps.display_type = HW_DISPLAY_GFX; caps.display_type = HW_DISPLAY_GFX;
caps.display_can_umlauts = 0; // needs test caps.display_can_umlauts = 0; // needs test
caps.display_can_deepstandby = 0; // 0 because we use graphlcd/lcd4linux caps.display_can_deepstandby = 0; // 0 because we use graphlcd
caps.display_can_set_brightness = 0; // 0 because we use graphlcd/lcd4linux caps.display_can_set_brightness = 0; // 0 because we use graphlcd
caps.display_has_statusline = 0; // 0 because we use graphlcd/lcd4linux caps.display_has_statusline = 0; // 0 because we use graphlcd
caps.display_has_colon = 0; caps.display_has_colon = 0;
caps.has_button_timer = 1; caps.has_button_timer = 1;
caps.has_button_vformat = 0; caps.has_button_vformat = 0;
@@ -154,9 +154,9 @@ hw_caps_t *get_hwcaps(void)
caps.display_yres = 240; caps.display_yres = 240;
caps.display_type = HW_DISPLAY_GFX; caps.display_type = HW_DISPLAY_GFX;
caps.display_can_umlauts = 0; // needs test caps.display_can_umlauts = 0; // needs test
caps.display_can_deepstandby = 0; // 0 because we use graphlcd/lcd4linux caps.display_can_deepstandby = 0; // 0 because we use graphlcd
caps.display_can_set_brightness = 0; // 0 because we use graphlcd/lcd4linux caps.display_can_set_brightness = 0; // 0 because we use graphlcd
caps.display_has_statusline = 0; // 0 because we use graphlcd/lcd4linux caps.display_has_statusline = 0; // 0 because we use graphlcd
caps.display_has_colon = 0; caps.display_has_colon = 0;
caps.has_button_timer = 1; caps.has_button_timer = 1;
caps.has_button_vformat = 0; caps.has_button_vformat = 0;
@@ -255,9 +255,9 @@ hw_caps_t *get_hwcaps(void)
caps.display_yres = 176; caps.display_yres = 176;
caps.display_type = HW_DISPLAY_GFX; caps.display_type = HW_DISPLAY_GFX;
caps.display_can_umlauts = 0; caps.display_can_umlauts = 0;
caps.display_can_deepstandby = 0; caps.display_can_deepstandby = 0; // 0 because we use graphlcd
caps.display_can_set_brightness = 1; caps.display_can_set_brightness = 0; // 0 because we use graphlcd
caps.display_has_statusline = 0; caps.display_has_statusline = 0; // 0 because we use graphlcd
caps.display_has_colon = 0; caps.display_has_colon = 0;
caps.has_button_timer = 1; caps.has_button_timer = 1;
caps.has_button_vformat = 0; caps.has_button_vformat = 0;
@@ -276,9 +276,9 @@ hw_caps_t *get_hwcaps(void)
caps.display_yres = 176; caps.display_yres = 176;
caps.display_type = HW_DISPLAY_GFX; caps.display_type = HW_DISPLAY_GFX;
caps.display_can_umlauts = 0; caps.display_can_umlauts = 0;
caps.display_can_deepstandby = 0; caps.display_can_deepstandby = 0; // 0 because we use graphlcd
caps.display_can_set_brightness = 1; caps.display_can_set_brightness = 0; // 0 because we use graphlcd
caps.display_has_statusline = 0; caps.display_has_statusline = 0; // 0 because we use graphlcd
caps.display_has_colon = 0; caps.display_has_colon = 0;
caps.has_button_timer = 1; caps.has_button_timer = 1;
caps.has_button_vformat = 0; caps.has_button_vformat = 0;