This commit is contained in:
Bartosz Kościów 2017-05-30 19:42:24 +02:00
parent b5afe2c08e
commit 95836d552b
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ from gfxlcd.abstract.driver import Driver
class AreaDriver(Driver): class AreaDriver(Driver):
"""SPI communication driver""" """Null communication driver"""
def __init__(self, width, height): def __init__(self, width, height):
self.height = height self.height = height
self.width = width self.width = width

View File

@ -11,11 +11,11 @@ class NullArea(Area, Chip):
self.rotation = 0 self.rotation = 0
def _converted_background_color(self): def _converted_background_color(self):
"""color from 8-8-8 to 5-6-5""" """dummy background color"""
return 2 return 2
def _converted_color(self): def _converted_color(self):
"""color from 8-8-8 to 5-6-5""" """dummy color"""
return 1 return 1
def init(self): def init(self):