The documentation + specification of this function says that readlen can be 0 (and it's the default value) but the function raises an exception on readlen = 0:
if readlen < 1: raise I2cIOError('Nothing to read')
Although it clearly supports zero value:
if readlen: data = self._do_read(readlen)
Hi,
The documentation + specification of this function says that readlen can be 0 (and it's the default value) but the function raises an exception on readlen = 0:
if readlen < 1: raise I2cIOError('Nothing to read')
Although it clearly supports zero value:if readlen: data = self._do_read(readlen)
Thanks.