Skip to content

Commit 850f79e

Browse files
committed
docs/library/machine.I2C: Remove WiPy-specific return values.
cc3200 has been updated to conform to the API and now returns None.
1 parent 9d7c537 commit 850f79e

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

docs/library/machine.I2C.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,7 @@ methods are convenience functions to communicate with such devices.
160160
The argument `addrsize` specifies the address size in bits (on ESP8266
161161
this argument is not recognised and the address size is always 8 bits).
162162

163-
On WiPy the return value is the number of bytes read. Otherwise the
164-
return value is `None`.
163+
The method returns `None`.
165164

166165
.. method:: I2C.writeto_mem(addr, memaddr, buf, \*, addrsize=8)
167166

@@ -170,5 +169,4 @@ methods are convenience functions to communicate with such devices.
170169
The argument `addrsize` specifies the address size in bits (on ESP8266
171170
this argument is not recognised and the address size is always 8 bits).
172171

173-
On WiPy the return value is the number of bytes written. Otherwise the
174-
return value is `None`.
172+
The method returns `None`.

0 commit comments

Comments
 (0)