From 5215eb7e0f38bc2b91bedcae76250910986a94b4 Mon Sep 17 00:00:00 2001 From: Masayuki Ishikawa Date: Mon, 28 Nov 2022 09:26:56 +0900 Subject: [PATCH] boards: cxd56xx: Fix the build error in cxd56_crashdump.c Summary: - This commit fixes the build error in cxd56_crashdump.c regressed by https://github.com/apache/nuttx/pull/7707 Impact: - None Tesing: - Tested with spresense:wifi Signed-off-by: Masayuki Ishikawa --- boards/arm/cxd56xx/common/src/cxd56_crashdump.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/boards/arm/cxd56xx/common/src/cxd56_crashdump.c b/boards/arm/cxd56xx/common/src/cxd56_crashdump.c index dfccd78b73..fa186f5aca 100644 --- a/boards/arm/cxd56xx/common/src/cxd56_crashdump.c +++ b/boards/arm/cxd56xx/common/src/cxd56_crashdump.c @@ -238,5 +238,7 @@ void board_crashdump(uintptr_t currentsp, void *tcb, exit: #if defined(CONFIG_CXD56_RESET_ON_CRASH) board_reset_on_crash(); +#else + return; #endif }