From f558bd6d9e6634099d8e7de9274d90303601f052 Mon Sep 17 00:00:00 2001 From: TangoCash Date: Sun, 9 Oct 2022 16:19:09 +0200 Subject: [PATCH] fix osmio4k+ display Conflicts: libarmbox/hardware_caps.c Signed-off-by: Thilo Graf --- libarmbox/hardware_caps.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libarmbox/hardware_caps.c b/libarmbox/hardware_caps.c index 7de88fa..3825ec2 100644 --- a/libarmbox/hardware_caps.c +++ b/libarmbox/hardware_caps.c @@ -370,12 +370,12 @@ hw_caps_t *get_hwcaps(void) caps.can_cpufreq = 0; caps.can_shutdown = 1; caps.display_xres = 128; - caps.display_yres = 64; + caps.display_yres = 32; caps.display_type = HW_DISPLAY_GFX; caps.display_can_umlauts = 0; // needs test - caps.display_can_deepstandby = 0; // 0 because we use graphlcd/lcd4linux - caps.display_can_set_brightness = 0; // 0 because we use graphlcd/lcd4linux - caps.display_has_statusline = 0; // 0 because we use graphlcd/lcd4linux + caps.display_can_deepstandby = 0; // evaluation is required with usage of graphlcd/lcd4linux, in this case = 0 + caps.display_can_set_brightness = 1; // evaluation is required with usage of graphlcd/lcd4linux, in this case = 0 + caps.display_has_statusline = 0; // evaluation is required with usage of graphlcd/lcd4linux, in this case = 0 caps.display_has_colon = 0; caps.has_button_timer = 1; caps.has_button_vformat = 1;