mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
drivers/bme680: convert to xtimer_msleep()
This commit is contained in:
parent
fd102efea8
commit
6dbc5fea3a
@ -65,7 +65,7 @@ static int _read(int dev)
|
||||
if ((drt = bme680_get_duration(&bme680_devs_saul[dev])) < 0) {
|
||||
return BME680_INVALID;
|
||||
}
|
||||
xtimer_usleep(drt * US_PER_MS);
|
||||
xtimer_msleep(drt);
|
||||
|
||||
bme680_field_data_t data;
|
||||
if ((res = bme680_get_data(&bme680_devs_saul[dev], &data)) != BME680_OK) {
|
||||
|
Loading…
Reference in New Issue
Block a user