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 <Masayuki.Ishikawa@jp.sony.com>
This commit is contained in:
Masayuki Ishikawa 2022-11-28 09:26:56 +09:00 committed by Petro Karashchenko
parent f72bab20b6
commit 5215eb7e0f

View File

@ -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
}