mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Fix bug. Line misplaced in the code to init the display.
This commit is contained in:
@ -10,6 +10,8 @@ from PIL import Image,ImageDraw,ImageFont
|
||||
EPD_WIDTH = 64
|
||||
EPD_HEIGHT = 128
|
||||
|
||||
disp = SH1106.SH1106()
|
||||
|
||||
class EPD(object):
|
||||
|
||||
def __init__(self):
|
||||
@ -19,7 +21,6 @@ class EPD(object):
|
||||
self.cs_pin = config.CS_PIN
|
||||
self.width = EPD_WIDTH
|
||||
self.height = EPD_HEIGHT
|
||||
disp = SH1106.SH1106()
|
||||
|
||||
def init(self):
|
||||
disp.Init()
|
||||
|
Reference in New Issue
Block a user