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:
parent
891f89fe04
commit
13c1cea16b
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue