drivers/display/ssd1306: Implement SSD1306_I2C poweron method.

After a poweroff(), the poweron() method does a soft power-on and any
previous state of the display persists.
This commit is contained in:
Tiago Queiroz 2017-02-04 23:32:10 -02:00 committed by Damien George
parent ea6692a83e
commit 7df4083ac6

View File

@ -124,7 +124,7 @@ class SSD1306_I2C(SSD1306):
self.i2c.stop()
def poweron(self):
pass
self.write_cmd(SET_DISP | 0x01)
class SSD1306_SPI(SSD1306):