summaryrefslogtreecommitdiff
path: root/tests/basics/bytearray_decode.py
diff options
context:
space:
mode:
authorAndrew Leech <andrew.leech@planetinnovation.com.au>2019-04-18 10:31:44 +1000
committerDamien George <damien.p.george@gmail.com>2019-05-21 12:20:19 +1000
commited2b6ea0a8f4d55a373af032faeca128c0741317 (patch)
treebb88cf6e52ff93bb159c827841a977bf1807bf31 /tests/basics/bytearray_decode.py
parente5e472198c0cf5cbac8fdf0a9ad5037a9c995f02 (diff)
stm32/i2c: Make timeout for hardware I2C configurable.
Previously the hardware I2C timeout was hard coded to 50ms which isn't guaranteed to be enough depending on the clock stretching specs of the I2C device(s) in use. This patch ensures the hardware I2C implementation honors the existing timeout argument passed to the machine.I2C constructor. The default timeout for software and hardware I2C is now 50ms.
Diffstat (limited to 'tests/basics/bytearray_decode.py')
0 files changed, 0 insertions, 0 deletions