Skip to content

Commit

Permalink
double refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
adriankeenan committed Dec 29, 2024
1 parent a664119 commit 4b4d70c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/epd_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ def display_img(epd, image: Image, mode: Mode):
epd.display_4Gray(epd.getbuffer_4Gray(image))
if mode == Mode.PARTIAL:
epd.init()
epd.display_Partial(epd.getbuffer(image))
for i in range(2):
epd.display_Partial(epd.getbuffer(image))
else:
epd.init_Fast()
epd.display_Fast(epd.getbuffer(image))
Expand Down

0 comments on commit 4b4d70c

Please sign in to comment.