drivers/display/ssd1306: Fix super() call in SSD1306 driver.

crypto-aes
Jim Mussared 5 years ago committed by Damien George
parent 42c4dd09a1
commit bb3412291a
  1. 2
      drivers/display/ssd1306.py

@ -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…
Cancel
Save