Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite0d0bd0

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 parentfee49e2 commite0d0bd0

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)

[8]ページ先頭

©2009-2025 Movatter.jp