diff --git a/nx/include/switch/kernel/semaphore.h b/nx/include/switch/kernel/semaphore.h index 17bbc4c1..dd7aeafa 100644 --- a/nx/include/switch/kernel/semaphore.h +++ b/nx/include/switch/kernel/semaphore.h @@ -39,6 +39,6 @@ void semaphoreWait(Semaphore * s); /** * @brief Attempts to get lock without waiting. * @param s Semaphore object. - * @return 1 if no wait is needed for lock, 0 otherwise. + * @return true if no wait and successful lock, false otherwise. */ bool semaphoreTryWait(Semaphore * s);