mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
drivers/dfplayer: convert to xtimer_msleep()
This commit is contained in:
parent
6dbc5fea3a
commit
04114c3d83
@ -321,7 +321,7 @@ static int _send(dfplayer_t *dev, uint8_t cmd, uint8_t p1, uint8_t p2,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* wait to work around HW bug */
|
/* wait to work around HW bug */
|
||||||
xtimer_usleep(DFPLAYER_SEND_DELAY_MS * US_PER_MS);
|
xtimer_msleep(DFPLAYER_SEND_DELAY_MS);
|
||||||
|
|
||||||
if (!retval) {
|
if (!retval) {
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user