diff options
Diffstat (limited to 'modules/rst')
-rw-r--r-- | modules/rst/audio.c | 2 | ||||
-rw-r--r-- | 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(); |