[riot-notifications] [RIOT-OS/RIOT] cpu/efm32: fix i2c transfers (#15764)
notifications at github.com
Wed Jan 13 23:23:42 CET 2021
@basilfx commented on this pull request.
> @@ -54,28 +56,21 @@ static mutex_t i2c_lock[I2C_NUMOF];
static int _transfer(i2c_t dev, I2C_TransferSeq_TypeDef *transfer)
- bool busy = true;
- uint32_t timeout = I2C_TIMEOUT;
+ uint32_t counter = EFM32_I2C_TIMEOUT;
Ideally, yes. And also work with clock stretching.
But I have taken that value from the kit driver and it has been in this driver since the beginning.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications