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 <j.fischer@phytec.de>
This commit is contained in:
Johann Fischer 2019-02-02 01:04:11 +01:00 committed by Anas Nashif
parent 499feaf50e
commit 9d0d5710d8

View File

@ -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;