Commit eb09336e authored by Radomir Dopieralski's avatar Radomir Dopieralski Committed by Damien George
Browse files

drivers/display/ Update to use FrameBuffer not FrameBuffer1

parent 225e22b2
......@@ -32,7 +32,7 @@ class SSD1306:
self.external_vcc = external_vcc
self.pages = self.height // 8
self.buffer = bytearray(self.pages * self.width)
self.framebuf = framebuf.FrameBuffer1(self.buffer, self.width, self.height)
self.framebuf = framebuf.FrameBuffer(self.buffer, self.width, self.height, framebuf.MVLSB)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment