tests/driver_dfplayer: convert to xtimer_msleep()

This commit is contained in:
Benjamin Valentin 2020-11-04 23:00:50 +01:00
parent 4d5340f2fc
commit f406c03add

View File

@ -90,7 +90,7 @@ static void playback_done_handler(event_t *_data)
break;
}
print_str(".mp3: Playback completed\n");
xtimer_usleep(DFPLAYER_TIMEOUT_MS * US_PER_MS);
xtimer_msleep(DFPLAYER_TIMEOUT_MS);
dfplayer_next(dev);
}