8000 st77xx.py: Fix color_format · shankezh/lv_binding_micropython@84c751a · GitHub
[go: up one dir, main page]

Skip to content

Commit 84c751a

Browse files
committed
1 parent a8d04e9 commit 84c751a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

driver/generic/st77xx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ def __init__(self,doublebuffer=True,factor=4):
462462
self.disp_drv.flush_cb=self.disp_drv_flush_cb
463463
self.disp_drv.hor_res=self.width
464464
self.disp_drv.ver_res=self.height
465-
self.disp_drv.color_format = lv.COLOR_FORMAT.NATIVE_REVERSE if self.bgr else lv.COLOR_FORMAT.NATIVE
465+
self.disp_drv.color_format = lv.COLOR_FORMAT.NATIVE if self.bgr else lv.COLOR_FORMAT.NATIVE_REVERSE
466466
self.disp_drv.register()
467467

468468

0 commit comments

Comments
 (0)
0