diff --git a/fb_ili9481.c b/fb_ili9481.c index 913fe34..725157a 100644 --- a/fb_ili9481.c +++ b/fb_ili9481.c @@ -96,7 +96,7 @@ static int set_var(struct fbtft_par *par) } static struct fbtft_display display = { - .regwidth = 16, + .regwidth = 8, .width = WIDTH, .height = HEIGHT, .init_sequence = default_init_sequence, diff --git a/fb_ili9486.c b/fb_ili9486.c index 76a5b17..95b8999 100644 --- a/fb_ili9486.c +++ b/fb_ili9486.c @@ -100,7 +100,7 @@ static int set_var(struct fbtft_par *par) static struct fbtft_display display = { - .regwidth = 16, + .regwidth = 8, .width = WIDTH, .height = HEIGHT, .init_sequence = default_init_sequence, diff --git a/fbtft_device.c b/fbtft_device.c index d3eb4e5..999cb89 100644 --- a/fbtft_device.c +++ b/fbtft_device.c @@ -493,6 +493,7 @@ static struct fbtft_device_display displays[] = { .mode = SPI_MODE_0, .platform_data = &(struct fbtft_platform_data) { .display = { + .regwidth = 16, .buswidth = 8, .backlight = 1, }, @@ -672,6 +673,7 @@ static struct fbtft_device_display displays[] = { .mode = SPI_MODE_0, .platform_data = &(struct fbtft_platform_data) { .display = { + .regwidth = 16, .buswidth = 8, .backlight = 1, },