8000 Fixes #263 · genvex/lv_binding_micropython@af1171e · GitHub
[go: up one dir, main page]

Skip to content

Commit af1171e

Browse files
committed
Fixes lvgl#263
1 parent cf206e1 commit af1171e

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
@@ -439,7 +439,7 @@ def disp_drv_flush_cb(self,disp_drv,area,color):
439439
# print(f"({area.x1},{area.y1}..{area.x2},{area.y2})")
440440
self.rp2_wait_dma() # wait if not yet done and DMA is being used
441441
# blit in background
442-
self.blit(area.x1,area.y1,w:=(area.x2- 55B7 area.x1+1),h:=(area.y2-area.y1+1),disp_drv.draw_buf.buf_act.__dereference__(2*w*h),is_blocking=False)
442+
self.blit(area.x1,area.y1,w:=(area.x2-area.x1+1),h:=(area.y2-area.y1+1),color.__dereference__(lv.color_t.__SIZE__*w*h),is_blocking=False)
443443
self.disp_drv.flush_ready()
444444
def __init__(self,doublebuffer=True,factor=4):
445445
import lvgl as lv

0 commit comments

Comments
 (0)
0