Skip to content

Commit 9370df0

Browse files
mrmcwethytannewt
authored andcommitted
changed read_into to readinto
1 parent cf3d67f commit 9370df0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_bme680.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def _read(self, register, length):
294294
with self._i2c as i2c:
295295
i2c.write(bytes([register & 0xFF]))
296296
result = bytearray(length)
297-
i2c.read_into(result)
297+
i2c.readinto(result)
298298
if self._debug:
299299
print("\t$%02X => %s" % (register, [hex(i) for i in result]))
300300
return result

0 commit comments

Comments
 (0)