nuttx/timers: Fix green hills build timer.h error

"/mnt/yang/qixinwei_commit/nuttx/include/nuttx/timers/timer.h", line 257: error #223-D:
          function DEBUGASSERT declared implicitly
    DEBUGASSERT(lower->ops->tick_getstatus);

Signed-off-by: yanghuatao <yanghuatao@xiaomi.com>
This commit is contained in:
yanghuatao 2024-04-11 11:12:19 +08:00 committed by Xiang Xiao
parent e98dd37534
commit ae4865cf54

View file

@ -33,6 +33,7 @@
#include <signal.h>
#include <stdbool.h>
#include <sys/types.h>
#include <assert.h>
#ifdef CONFIG_TIMER