Skip to content

Commit 9a67470

Browse files
committed
pass col= back to base class
1 parent 45cea61 commit 9a67470

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

adafruit_ssd1305.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ def __init__(
241241
height,
242242
external_vcc=external_vcc,
243243
reset=reset,
244+
col=col # <-- Forwarded col parameter to base class
244245
)
245246

246247
def write_cmd(self, cmd: int) -> None:
@@ -284,7 +285,8 @@ def __init__(
284285
external_vcc: bool = False,
285286
baudrate: int = 8000000,
286287
polarity: int = 0,
287-
phase: int = 0
288+
phase: int = 0,
289+
col=None
288290
):
289291
self.rate = 10 * 1024 * 1024
290292
dc.switch_to_output(value=False)
@@ -299,6 +301,7 @@ def __init__(
299301
height,
300302
external_vcc=external_vcc,
301303
reset=reset,
304+
col=col
302305
)
303306

304307
def write_cmd(self, cmd: int) -> None:

0 commit comments

Comments
 (0)