summaryrefslogtreecommitdiff
path: root/py/emitinlinextensa.c
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2022-01-21 14:52:03 +1100
committerDamien George <damien@micropython.org>2022-01-21 15:10:29 +1100
commita707fe50b085ec83722106609f6fd219faf9f030 (patch)
treeaea7211b4fce20e5f3d1f9f523715461fcb9c632 /py/emitinlinextensa.c
parentbef26d4e3fee7f00758d6e3ae7aa187b80d7878c (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/emitinlinextensa.c')
0 files changed, 0 insertions, 0 deletions