From 5f51188d1412c851e2775eac5db9ef78324aca23 Mon Sep 17 00:00:00 2001 From: Luke Street Date: Tue, 4 Dec 2018 03:16:51 -0500 Subject: [PATCH] Update svcSleepThread definition --- nx/include/switch/kernel/svc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nx/include/switch/kernel/svc.h b/nx/include/switch/kernel/svc.h index c43ed999..47a3b9e3 100644 --- a/nx/include/switch/kernel/svc.h +++ b/nx/include/switch/kernel/svc.h @@ -242,10 +242,10 @@ void NORETURN svcExitThread(void); /** * @brief Sleeps the current thread for the specified amount of time. - * @return Result code. + * @param[in] nano Number of nanoseconds to sleep, or 0, -1, -2 for yield. * @note Syscall number 0x0B. */ -Result svcSleepThread(u64 nano); +void svcSleepThread(s64 nano); /** * @brief Gets a thread's priority.