diff --git a/src/main/drivers/bus_i2c_stm32f30x.c b/src/main/drivers/bus_i2c_stm32f30x.c index d39f74f7bf..915e295480 100644 --- a/src/main/drivers/bus_i2c_stm32f30x.c +++ b/src/main/drivers/bus_i2c_stm32f30x.c @@ -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; diff --git a/src/main/drivers/bus_i2c_stm32f40x.c b/src/main/drivers/bus_i2c_stm32f40x.c index 0f4d8b45d8..ae96d65f15 100644 --- a/src/main/drivers/bus_i2c_stm32f40x.c +++ b/src/main/drivers/bus_i2c_stm32f40x.c @@ -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;