From db0b7ae0626ebdfc3cda7bef8bd7bad343cead23 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Thu, 12 Mar 2015 09:28:03 +0000 Subject: More MISRA. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7760 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/nil/include/nil.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'os/nil/include/nil.h') 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 -- cgit v1.2.3