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:
parent
683c1470ee
commit
4d5340f2fc
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user