diff --git a/drivers/ad7746/ad7746.c b/drivers/ad7746/ad7746.c index 412485fde2..ef2fb19af2 100644 --- a/drivers/ad7746/ad7746.c +++ b/drivers/ad7746/ad7746.c @@ -382,7 +382,7 @@ static int _read_voltage_temp(ad7746_t *dev, int *value, ad7746_vt_mode_t mode) /* if a mode change is needed wait for a conversion cycle and flush * the first sample in order to get a stable output. Took from the Linux * driver implementation */ - xtimer_usleep(_vt_sr_times[dev->params.vt_sample_rate] * US_PER_MS); + xtimer_msleep(_vt_sr_times[dev->params.vt_sample_rate]); _read_raw_ch(dev, AD7746_READ_VT_CH, &raw); }