From 1415df75e458b2d244b285973bb403f2ee2847b4 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 1cf19dfd..8f9c24d7 100644 --- a/nx/include/switch/kernel/svc.h +++ b/nx/include/switch/kernel/svc.h @@ -245,10 +245,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.