Skip to content

Commit 8be6764

Browse files
SPRESENSElupyuen
authored andcommitted
sched/init: Fix build error with CONFIG_BOARD_CRASHDUMP_CUSTOM
Fix build error with the following condition. - CONFIG_BOARD_CRASHDUMP_CUSTOM=y - CONFIG_COREDUMP=n The condition for calling `coredump_initialize()` is incorrect. CONFIG_BOARD_CRASHDUMP_CUSTOM is not dependent on CONFIG_COREDUMP. Signed-off-by: SPRESENSE <[email protected]>
1 parent 2e365e4 commit 8be6764

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sched/init/nx_bringup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ static inline void nx_start_application(void)
322322
board_late_initialize();
323323
#endif
324324

325-
#ifndef CONFIG_BOARD_CRASHDUMP_NONE
325+
#ifdef CONFIG_COREDUMP
326326
coredump_initialize();
327327
#endif
328328

0 commit comments

Comments
 (0)