Skip to content

Commit ae7bf08

Browse files
committed
removed stop
1 parent f7dd6d8 commit ae7bf08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sparkfun_qwiictwist.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ def change_address(self, new_address):
343343
def _read_register8(self, addr):
344344
# Read and return a byte from the specified 8-bit register address.
345345
with self._device as device:
346-
device.write(bytes([addr & 0xFF]), stop=False)
346+
device.write(bytes([addr & 0xFF]))
347347
result = bytearray(1)
348348
device.readinto(result)
349349
if self._debug:
@@ -360,7 +360,7 @@ def _write_register8(self, addr, value):
360360
def _read_register16(self, addr):
361361
# Read and return a 16-bit value from the specified 8-bit register address.
362362
with self._device as device:
363-
device.write(bytes([addr & 0xFF]), stop=False)
363+
device.write(bytes([addr & 0xFF]))
364364
result = bytearray(2)
365365
device.readinto(result)
366366
if self._debug:

0 commit comments

Comments
 (0)