mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Fix couple displays
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
This commit is contained in:
@ -40,4 +40,4 @@ class DFRobotV1(DisplayImpl):
|
|||||||
self._display.display(buf)
|
self._display.display(buf)
|
||||||
|
|
||||||
def clear(self):
|
def clear(self):
|
||||||
self._display.Clear(0xFF)
|
self._display.clear(0xFF)
|
||||||
|
@ -40,4 +40,4 @@ class DFRobotV1(DisplayImpl):
|
|||||||
self._display.display(buf)
|
self._display.display(buf)
|
||||||
|
|
||||||
def clear(self):
|
def clear(self):
|
||||||
self._display.Clear(0xFF)
|
self._display.clear(0xFF)
|
||||||
|
@ -40,4 +40,4 @@ class DFRobotV2(DisplayImpl):
|
|||||||
self._display.display(buf)
|
self._display.display(buf)
|
||||||
|
|
||||||
def clear(self):
|
def clear(self):
|
||||||
self._display.Clear(0xFF)
|
self._display.clear(0xFF)
|
||||||
|
@ -40,4 +40,4 @@ class DFRobotV2(DisplayImpl):
|
|||||||
self._display.display(buf)
|
self._display.display(buf)
|
||||||
|
|
||||||
def clear(self):
|
def clear(self):
|
||||||
self._display.Clear(0xFF)
|
self._display.clear(0xFF)
|
||||||
|
@ -64,4 +64,4 @@ class I2COled(DisplayImpl):
|
|||||||
self._display.display(canvas)
|
self._display.display(canvas)
|
||||||
|
|
||||||
def clear(self):
|
def clear(self):
|
||||||
self._display.clear()
|
self._display.Clear()
|
||||||
|
@ -41,4 +41,4 @@ class OledHat(DisplayImpl):
|
|||||||
self._display.display(canvas)
|
self._display.display(canvas)
|
||||||
|
|
||||||
def clear(self):
|
def clear(self):
|
||||||
self._display.clear()
|
self._display.Clear()
|
||||||
|
@ -51,4 +51,5 @@ class TftBonnet(DisplayImpl):
|
|||||||
self._display.display(canvas)
|
self._display.display(canvas)
|
||||||
|
|
||||||
def clear(self):
|
def clear(self):
|
||||||
self._display.clear()
|
pass
|
||||||
|
# self._display.clear()
|
||||||
|
Reference in New Issue
Block a user