drivers/display/ssd1306: Fix super() call in SSD1306 driver.
This commit is contained in:
parent
42c4dd09a1
commit
bb3412291a
@ -32,7 +32,7 @@ class SSD1306(framebuf.FrameBuffer):
|
||||
self.external_vcc = external_vcc
|
||||
self.pages = self.height // 8
|
||||
self.buffer = bytearray(self.pages * self.width)
|
||||
super.__init__(self.buffer, self.width, self.height, framebuf.MONO_VLSB)
|
||||
super().__init__(self.buffer, self.width, self.height, framebuf.MONO_VLSB)
|
||||
self.init_display()
|
||||
|
||||
def init_display(self):
|
||||
|
Loading…
Reference in New Issue
Block a user