Skip to content

Commit cf88f0b

Browse files
Update linux_i2c.py
Add note to clarify returned value from `__i2c_rdwr__` method
1 parent f4dba48 commit cf88f0b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

qwiic_i2c/linux_i2c.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,4 +302,5 @@ def __i2c_rdwr__(self, address, write_message, read_nbytes):
302302
pass
303303

304304
# Return read transaction (list)
305-
return read
305+
# Note - To retreive values, list the return: list(read)
306+
return read

0 commit comments

Comments
 (0)