mirror of
https://github.com/apache/nuttx.git
synced 2026-08-18 11:41:51 +08:00
sched/wdog: Fix MISRA 2004 rule 10.1
Fix MISRA 2004 rule 10.1 implicit type conversion Signed-off-by: jiangtao16 <jiangtao16@xiaomi.com>
This commit is contained in:
@@ -397,7 +397,7 @@ extern "C"
|
||||
* current_tick + 1, which is not enough for at least 1 tick.
|
||||
*/
|
||||
|
||||
#define clock_delay2abstick(delay) (clock_systime_ticks() + (delay) + 1)
|
||||
#define clock_delay2abstick(delay) (clock_systime_ticks() + (delay) + 1u)
|
||||
|
||||
/****************************************************************************
|
||||
* Name: clock_timespec_add
|
||||
|
||||
Reference in New Issue
Block a user