Skip to content

Commit 1c53919

Browse files
authored
Merge pull request #10069 from mattuna15/patch-1
Update Framebuffer_RP2350.c to use correct screen height for 640x480
2 parents 322ad6d + a407a08 commit 1c53919

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ports/raspberrypi/common-hal/picodvi/Framebuffer_RP2350.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ bool common_hal_picodvi_framebuffer_preflight(
134134
mp_uint_t color_depth) {
135135

136136
// for each supported resolution, check the color depth is supported
137-
if (width == 640 && height == 640) {
137+
if (width == 640 && height == 480) {
138138
return color_depth == 1 || color_depth == 2 || color_depth == 4 || color_depth == 8;
139139
}
140140
if (width == 320 && height == 240) {

0 commit comments

Comments
 (0)