Skip to content

Commit

Permalink
nuttx/timers: Fix green hills build timer.h error
Browse files Browse the repository at this point in the history
"/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 <[email protected]>
  • Loading branch information
yanghuatao authored and xiaoxiang781216 committed Sep 27, 2024
1 parent e98dd37 commit ae4865c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/nuttx/timers/timer.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
#include <signal.h>
#include <stdbool.h>
#include <sys/types.h>
#include <assert.h>

#ifdef CONFIG_TIMER

Expand Down

0 comments on commit ae4865c

Please sign in to comment.