diff options
Diffstat (limited to 'testhal/STM32/STM32F1xx/I2C/fake.c')
-rw-r--r-- | testhal/STM32/STM32F1xx/I2C/fake.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testhal/STM32/STM32F1xx/I2C/fake.c b/testhal/STM32/STM32F1xx/I2C/fake.c index 4da6d25e7..f3cca595a 100644 --- a/testhal/STM32/STM32F1xx/I2C/fake.c +++ b/testhal/STM32/STM32F1xx/I2C/fake.c @@ -28,7 +28,7 @@ static i2cflags_t errors = 0; /* This is main function. */
void request_fake(void){
msg_t status = MSG_OK;
- systime_t tmo = MS2ST(4);
+ sysinterval_t tmo = TIME_MS2I(4);
i2cAcquireBus(&I2CD1);
status = i2cMasterReceiveTimeout(&I2CD1, addr, rx_data, 2, tmo);
|