Skip to content

Commit

Permalink
Linted per pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tekktrik committed May 11, 2023
1 parent afa2872 commit 71cb62e
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 @@ -299,7 +299,7 @@ def _read(self, address: int, length: int) -> bytearray:
raise RuntimeError(f"Device not responding at 0x{address:02X}")
buffer = bytearray(length)
for byte_position in range(length):
buffer[byte_position] = self._read_byte(ack=(byte_position != length - 1))
buffer[byte_position] = self._read_byte(ack=byte_position != length - 1)
self._stop()
return buffer

Expand Down

0 comments on commit 71cb62e

Please sign in to comment.