drivers/ds75lx: convert to xtimer_msleep()

This commit is contained in:
Benjamin Valentin 2020-11-04 23:00:49 +01:00
parent e2cf95b0a9
commit 9050fcb547

View File

@ -126,7 +126,7 @@ int ds75lx_wakeup(const ds75lx_t *dev)
if (ret == DS75LX_OK) {
/* Wait max conversion time (depends on resolution) */
xtimer_usleep((DS75LX_MAX_CONVERSION_TIME << dev->params.resolution) * US_PER_MS);
xtimer_msleep((DS75LX_MAX_CONVERSION_TIME << dev->params.resolution));
}
return ret;