aboutsummaryrefslogtreecommitdiffstats
path: root/os/nil/include/nil.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/nil/include/nil.h')
-rw-r--r--os/nil/include/nil.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/nil/include/nil.h b/os/nil/include/nil.h
index d0dfe18fa..38ccf2a24 100644
--- a/os/nil/include/nil.h
+++ b/os/nil/include/nil.h
@@ -702,7 +702,7 @@ struct nil_system {
*
* @sclass
*/
-#define chThdSleepS(timeout) chSchGoSleepTimeoutS(NIL_STATE_SLEEPING, timeout)
+#define chThdSleepS(timeout) (void) chSchGoSleepTimeoutS(NIL_STATE_SLEEPING, timeout)
/**
* @brief Suspends the invoking thread until the system time arrives to the