mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 03:30:14 +01:00
drivers/display/ssd1306: Fix super() call in SSD1306 driver.
This commit is contained in:
committed by
Damien George
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):
|
||||
|
||||
Reference in New Issue
Block a user