1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-23 16:25:26 +03:00

Change i2cBusState_s.timeout type to timeUs_t for fix i2c errors after 72 min on start FC.

This commit is contained in:
Artyom Kravchenko 2021-07-07 01:36:46 +03:00
parent 891f89fe04
commit 13c1cea16b
2 changed files with 2 additions and 2 deletions

View file

@ -87,7 +87,7 @@ typedef struct i2cBusState_s {
I2CDevice device;
bool initialized;
i2cState_t state;
uint32_t timeout;
timeUs_t timeout;
/* Active transfer */
bool allowRawAccess;

View file

@ -121,7 +121,7 @@ typedef struct i2cBusState_s {
I2CDevice device;
bool initialized;
i2cState_t state;
uint32_t timeout;
timeUs_t timeout;
/* Active transfer */
bool allowRawAccess;