drivers/bme680: convert to xtimer_msleep()

This commit is contained in:
Benjamin Valentin 2020-11-04 23:00:49 +01:00
parent fd102efea8
commit 6dbc5fea3a

View File

@ -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) {