Merge pull request #8309 from dhalbert/fix-pimoroni-dvi-base

fix framebuffer size for pimoroni dvi base
This commit is contained in:
Jeff Epler 2023-08-22 09:47:25 -05:00 committed by GitHub
commit 283889bb57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@
void board_init(void) {
picodvi_framebuffer_obj_t *fb = &allocate_display_bus()->picodvi;
fb->base.type = &picodvi_framebuffer_type;
common_hal_picodvi_framebuffer_construct(fb, 640, 480,
common_hal_picodvi_framebuffer_construct(fb, 320, 240,
&pin_GPIO7, &pin_GPIO6,
&pin_GPIO9, &pin_GPIO8,
&pin_GPIO11, &pin_GPIO10,