From 9d0d5710d8a85dfd0fbf821162b572c4a4e2b41b Mon Sep 17 00:00:00 2001 From: Johann Fischer Date: Sat, 2 Feb 2019 01:04:11 +0100 Subject: [PATCH] cfb: increase maximum resolution of the framebuffer The maximum resolution of the character framebuffer is far too low, use u16_t and increase it. Signed-off-by: Johann Fischer --- subsys/fb/cfb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subsys/fb/cfb.c b/subsys/fb/cfb.c index 68819ff2920..71b968aa14d 100644 --- a/subsys/fb/cfb.c +++ b/subsys/fb/cfb.c @@ -32,10 +32,10 @@ struct char_framebuffer { enum display_screen_info screen_info; /** Resolution of a framebuffer in pixels in X direction */ - u8_t x_res; + u16_t x_res; /** Resolution of a framebuffer in pixels in Y direction */ - u8_t y_res; + u16_t y_res; /** Number of pixels per tile, typically 8 */ u8_t ppt;