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

@@ -47,10 +47,10 @@ hw_caps_t *get_hwcaps(void)
caps.display_xres = 480; caps.display_xres = 480;
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;
@@ -69,10 +69,10 @@ hw_caps_t *get_hwcaps(void)
caps.display_xres = 480; caps.display_xres = 480;
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;
@@ -90,10 +90,10 @@ hw_caps_t *get_hwcaps(void)
caps.display_xres = 480; caps.display_xres = 480;
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;
@@ -112,10 +112,10 @@ hw_caps_t *get_hwcaps(void)
caps.display_xres = 800; caps.display_xres = 800;
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;
@@ -153,10 +153,10 @@ hw_caps_t *get_hwcaps(void)
caps.display_xres = 400; caps.display_xres = 400;
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;