mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
adds v3 and v4 to waveshare 2in3 is any
Signed-off-by: Rai <58925163+rai68@users.noreply.github.com>
This commit is contained in:
@ -282,7 +282,7 @@ class Display(View):
|
|||||||
return self._implementation.name == 'adafruit2in13_v3'
|
return self._implementation.name == 'adafruit2in13_v3'
|
||||||
|
|
||||||
def is_waveshare_any(self):
|
def is_waveshare_any(self):
|
||||||
return self.is_waveshare_v1() or self.is_waveshare_v2()
|
return self.is_waveshare_v1() or self.is_waveshare_v2() or self.is_waveshare_v4() or self.is_waveshare_v3
|
||||||
|
|
||||||
def init_display(self):
|
def init_display(self):
|
||||||
if self._enabled:
|
if self._enabled:
|
||||||
|
Reference in New Issue
Block a user