Skip to content

Commit 3aaf721

Browse files
authored
Merge pull request #98 from mkende/main
Do not blank out the value read for pins PA30 and PA31.
2 parents c128e2d + d92217c commit 3aaf721

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)