diff options
| author | Damien George <damien@micropython.org> | 2022-01-21 14:52:03 +1100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2022-01-21 15:10:29 +1100 |
| commit | a707fe50b085ec83722106609f6fd219faf9f030 (patch) | |
| tree | aea7211b4fce20e5f3d1f9f523715461fcb9c632 /py/objproperty.c | |
| parent | bef26d4e3fee7f00758d6e3ae7aa187b80d7878c (diff) | |
rp2/machine_i2c: Use soft I2C only for len=0, and increase timeout.
The RP2040 I2C hardware can do writes of length 1 and 2, just not of length
0. So only use software I2C for writes of length 0, to improve
performance.
Also increase the software I2C timeout for zero-length writes to
accommodate the behaviour of a wider range of I2C devices.
Fixes issue #8167.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/objproperty.c')
0 files changed, 0 insertions, 0 deletions
