Skip to content

Commit e0d0bd0

Browse files
committed
I believe I found the issue with the sdj display driver and it not having the byte order correct when using BGR
1 parent fee49e2 commit e0d0bd0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api_drivers/common_api_drivers/display/sdl_display/sdl_display.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def __init__(
8686
backlight_on_state=display_driver_framework.STATE_HIGH, # NOQA
8787
offset_x=0,
8888
offset_y=0,
89-
color_byte_order=display_driver_framework.BYTE_ORDER_RGB, # NOQA
89+
color_byte_order=BYTE_ORDER_RGB, # NOQA
9090
color_space=lv.COLOR_FORMAT.RGB888, # NOQA
9191
rgb565_byte_swap=False # NOQA
9292
):
@@ -104,7 +104,7 @@ def __init__(
104104
backlight_on_state=display_driver_framework.STATE_HIGH,
105105
offset_x=offset_x,
106106
offset_y=offset_y,
107-
color_byte_order=display_driver_framework.BYTE_ORDER_RGB,
107+
color_byte_order=color_byte_order,
108108
color_space=color_space,
109109
rgb565_byte_swap=False,
110110
_init_bus=False

0 commit comments

Comments
 (0)