Skip to content

Commit 267164a

Browse files
committed
remove unnecessary variable, fix linting error
1 parent 15815d4 commit 267164a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

adafruit_rgb_display/st7735.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,11 +236,10 @@ class ST7735S(ST7735):
236236
#pylint: disable-msg=useless-super-delegation, too-many-arguments
237237
def __init__(self, spi, dc, cs, bl, rst=None, width=128, height=160,
238238
baudrate=16000000, polarity=0, phase=0, *,
239-
x_offset=2, y_offset=1, rotation=0, bgr=False):
239+
x_offset=2, y_offset=1, rotation=0):
240240
self._bl = bl
241241
# Turn on backlight
242242
self._bl.switch_to_output(value=1)
243243
super().__init__(spi, dc, cs, rst, width, height,
244244
baudrate=baudrate, polarity=polarity, phase=phase,
245245
x_offset=x_offset, y_offset=y_offset, rotation=rotation)
246-

0 commit comments

Comments
 (0)