Skip to content

Commit

Permalink
assert: Skip to include arch/board/board.h if CONFIG_ARCH_LEDS=n
Browse files Browse the repository at this point in the history
follow up the change: apache#10553

Signed-off-by: Xiang Xiao <[email protected]>
  • Loading branch information
xiaoxiang781216 authored and GUIDINGLI committed Sep 26, 2023
1 parent 167c4ae commit 2acd975
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sched/misc/assert.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@
#include <nuttx/irq.h>
#include <nuttx/tls.h>
#include <nuttx/signal.h>
#include <arch/board/board.h>

#ifdef CONFIG_ARCH_LEDS
# include <arch/board/board.h>
#endif
#include <nuttx/panic_notifier.h>
#include <nuttx/reboot_notifier.h>
#include <nuttx/syslog/syslog.h>
Expand Down

0 comments on commit 2acd975

Please sign in to comment.