assert: Skip to include arch/board/board.h if CONFIG_ARCH_LEDS=n
follow up the change: https://github.com/apache/nuttx/pull/10553 Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
167c4ae2a4
commit
2acd975435
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user