Skip to content

Commit 448638f

Browse files
committed
made sure switch_to_input works!
1 parent 8336ceb commit 448638f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

adafruit_aw9523.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,4 +248,5 @@ def pull(self):
248248

249249
@pull.setter
250250
def pull(self, val):
251-
raise NotImplementedError("Pull-up/pull-down resistors not supported.")
251+
if val is not None:
252+
raise NotImplementedError("Pull-up/pull-down resistors not supported.")

0 commit comments

Comments
 (0)