Skip to content

Commit 2d9c93a

Browse files
mrmcwethytannewt
authored andcommitted
changed read_into to readinto
1 parent 46a1bb6 commit 2d9c93a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_bme280.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def _read_register(self, register, length):
213213
with self._i2c as i2c:
214214
i2c.write(bytes([register & 0xFF]))
215215
result = bytearray(length)
216-
i2c.read_into(result)
216+
i2c.readinto(result)
217217
#print("$%02X => %s" % (register, [hex(i) for i in result]))
218218
return result
219219

0 commit comments

Comments
 (0)