1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

tests/driver_bme680: convert to xtimer_msleep()

This commit is contained in:
Benjamin Valentin 2020-11-04 23:00:50 +01:00
parent 683c1470ee
commit 4d5340f2fc

View File

@ -76,7 +76,7 @@ int main(void)
/* get the duration for the measurement */
int duration = bme680_get_duration(&dev[i]);
/* wait for the duration */
xtimer_usleep(duration * US_PER_MS);
xtimer_msleep(duration);
/* read the data */
int res = bme680_get_data(&dev[i], &data);