1
0
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:
Benjamin Valentin 2020-11-04 23:00:49 +01:00
parent 6dbc5fea3a
commit 04114c3d83

View File

@ -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 */
xtimer_usleep(DFPLAYER_SEND_DELAY_MS * US_PER_MS);
xtimer_msleep(DFPLAYER_SEND_DELAY_MS);
if (!retval) {
break;