Skip to content

Commit d92217c

Browse files
committed
Do not blank out the value read for pins PA30 and PA31.
1 parent c128e2d commit d92217c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

adafruit_seesaw/seesaw.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,6 @@ def digital_read_bulk(self, pins, delay=0.008):
214214
"""Get the values of all the pins on the 'A' port as a bitmask"""
215215
buf = bytearray(4)
216216
self.read(_GPIO_BASE, _GPIO_BULK, buf, delay=delay)
217-
buf[0] = buf[0] & 0x3F
218217
ret = struct.unpack(">I", buf)[0]
219218
return ret & pins
220219

0 commit comments

Comments
 (0)