mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 06:42:32 +08:00
boards/arm/sama5/sama5d4-ek/src/sam_appinit.c: Fix error found in build testing. Bad conditional compilation for board_app_initialize(). Should depend only on CONFIG_LIB_BOARDCTL, CONFIG_BUILD_KERNEL is irrelevant.
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
|
||||
#include "sama5d4-ek.h"
|
||||
|
||||
#ifndef CONFIG_BUILD_KERNEL
|
||||
#ifdef CONFIG_LIB_BOARDCTL
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
@@ -89,4 +89,4 @@ int board_app_initialize(uintptr_t arg)
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif /* CONFIG_BUILD_KERNEL */
|
||||
#endif /* CONFIG_LIB_BOARDCTL */
|
||||
|
||||
Reference in New Issue
Block a user