diff --git a/drivers/dsp0401/dsp0401.c b/drivers/dsp0401/dsp0401.c index e9336dcb70..651a9f0423 100644 --- a/drivers/dsp0401/dsp0401.c +++ b/drivers/dsp0401/dsp0401.c @@ -238,12 +238,12 @@ void dsp0401_scroll_text(const dsp0401_t *dev, char *text, uint16_t delay) for (unsigned i = 0; i < strlen(text); ++i) { _shift_char(dev, text[i]); _latch(dev); - xtimer_usleep((uint32_t)(delay * US_PER_MS)); + xtimer_msleep(delay); } for (unsigned i = 0; i < MOD_COUNT * 4; ++i) { _shift_char(dev, ' '); _latch(dev); - xtimer_usleep((uint32_t)(delay * US_PER_MS)); + xtimer_msleep(delay); } }