Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

Commit

Permalink
Update waveshare2in7_V2.py
Browse files Browse the repository at this point in the history
Signed-off-by: Rai <[email protected]>
  • Loading branch information
rai68 authored and jayofelony committed Jan 4, 2024
1 parent 0819841 commit 03cc2a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pwnagotchi/ui/hw/waveshare2in7_V2.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ def initialize(self):

def render(self, canvas):
buf = self._display.getbuffer(canvas)
self._display.display(buf)
self._display.display_Partial(buf,0,0,176,264)

def clear(self):
# This line also removes the 0xFF
self._display.Clear()
self._display.Clear()

0 comments on commit 03cc2a5

Please sign in to comment.