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;