Skip to content

Commit 68f7baf

Browse files
mrmcwethytannewt
authored andcommitted
changed read_into to readinto
1 parent 64191a9 commit 68f7baf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_mpr121/mpr121.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def _read_register_bytes(self, register, result, length=None):
6666
length = len(result)
6767
with self._i2c:
6868
self._i2c.write(bytes([register]), stop=False)
69-
self._i2c.read_into(result, start=0, end=length)
69+
self._i2c.readinto(result, start=0, end=length)
7070

7171
def reset(self):
7272
"""Reset the MPR121 into a default state ready to detect touch inputs.

0 commit comments

Comments
 (0)