[riot-notifications] [RIOT-OS/RIOT] drivers, tests: use xtimer_msleep() (#15385)

benpicco notifications at github.com
Thu Nov 5 11:35:46 CET 2020

@benpicco commented on this pull request.

> @@ -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]);
-        xtimer_usleep((uint32_t)(delay * US_PER_MS));
+        xtimer_msleep((uint32_t)(delay));

my sed script was not so clever :wink: 

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201105/42033c88/attachment.htm>

More information about the notifications mailing list