From df805d411841359d52f553fe2cf38447399fceaa Mon Sep 17 00:00:00 2001 From: "Alfred E. Heggestad" Date: Sat, 10 Oct 2015 21:04:14 +0200 Subject: rst: use sys_msleep for sleeping 4 milliseconds --- modules/rst/audio.c | 2 +- modules/rst/video.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/rst/audio.c b/modules/rst/audio.c index 2eca230..f6dd4e8 100644 --- a/modules/rst/audio.c +++ b/modules/rst/audio.c @@ -67,7 +67,7 @@ static void *play_thread(void *arg) while (st->run) { - (void)usleep(4000); + sys_msleep(4); now = tmr_jiffies(); diff --git a/modules/rst/video.c b/modules/rst/video.c index adf2495..139c9f7 100644 --- a/modules/rst/video.c +++ b/modules/rst/video.c @@ -62,7 +62,7 @@ static void *video_thread(void *arg) while (st->run) { - (void)usleep(4000); + sys_msleep(4); now = tmr_jiffies(); -- cgit v1.2.3