Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfmanjm committed Mar 21, 2021
1 parent 8662a81 commit 496b0d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adafruit_bitbangio.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def writeto_then_readfrom(
if in_end is None:
in_end = len(buffer_in)
if self._check_lock():
self._write(address, buffer[out_start:out_end], False)
self._write(address, buffer_out[out_start:out_end], False)
self.readfrom_into(address, buffer_in, start=in_start, end=in_end)

def _scl_low(self):
Expand Down

0 comments on commit 496b0d6

Please sign in to comment.