mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
drivers/ph_oem: convert to xtimer_msleep()
This commit is contained in:
parent
daae2fb9bd
commit
56763a5cc4
@ -270,7 +270,7 @@ static int _new_reading_available(const ph_oem_t *dev)
|
|||||||
i2c_release(DEV_I2C);
|
i2c_release(DEV_I2C);
|
||||||
return PH_OEM_READ_ERR;
|
return PH_OEM_READ_ERR;
|
||||||
}
|
}
|
||||||
xtimer_usleep(20 * US_PER_MS);
|
xtimer_msleep(20);
|
||||||
} while (new_reading_available == 0);
|
} while (new_reading_available == 0);
|
||||||
|
|
||||||
/* need to manually reset register back to 0x00 */
|
/* need to manually reset register back to 0x00 */
|
||||||
|
Loading…
Reference in New Issue
Block a user