Skip to content
Snippets Groups Projects
Commit ed2b6ea0 authored by Andrew Leech's avatar Andrew Leech Committed by Damien George
Browse files

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.
parent e5e47219
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment