1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

drivers/si70xx: convert to xtimer_msleep()

This commit is contained in:
Benjamin Valentin 2020-11-04 23:00:50 +01:00
parent 1954283b34
commit b533e08fe7

View File

@ -169,7 +169,7 @@ int si70xx_init(si70xx_t *dev, const si70xx_params_t *params)
i2c_release(SI70XX_I2C);
/* sensor is ready after at most 25 ms */
xtimer_usleep(25 * US_PER_MS);
xtimer_msleep(25);
DEBUG("[DEBUG] Device initialized with success.\n");
return SI70XX_OK;