Skip to content

Commit 2d969ba

Browse files
author
Adam Patt
committed
fixed body to match new signature
1 parent 42a5a37 commit 2d969ba

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

simpleio.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,6 @@ def __init__(self, pin, **kwargs):
236236
value (bool): default value to set upon switching
237237
drive_mode (DriveMode): drive mode for the output
238238
"""
239-
kwargs = {k: v for k, v in (('value', value), ('drive_mode', drive_mode)) if not v is None}
240239
self.iopin = digitalio.DigitalInOut(pin)
241240
self.iopin.switch_to_output(**kwargs)
242241

0 commit comments

Comments
 (0)