kendryte / kendryte-freertos-sdk

This project is no longer maintained Not recommended for product development.
Apache License 2.0
201 stars 67 forks source link

i2c is halted once there is no slave device #41

Open Moo2017 opened 5 years ago

Moo2017 commented 5 years ago

Hi All,

I have set i2c in master mode, where slave device is connected it works fine but if I disconnect the slave device and try to read from i2c, it stays in i2c_dev_transfert_sequential forever while I expect that it exits with an error, looks like there is no timeout in case of error.