From c2c8962765c08b68053399c18f8e07e53f697239 Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Mon, 23 Jan 2017 12:18:17 -1000 Subject: [PATCH] board_crashdump uses board_system_reset API --- src/drivers/boards/common/board_crashdump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/boards/common/board_crashdump.c b/src/drivers/boards/common/board_crashdump.c index 84ec13b9c4..ac238e7b5f 100644 --- a/src/drivers/boards/common/board_crashdump.c +++ b/src/drivers/boards/common/board_crashdump.c @@ -158,6 +158,6 @@ __EXPORT void board_crashdump(uintptr_t currentsp, FAR void *tcb, FAR const uint } #if defined(CONFIG_BOARD_RESET_ON_CRASH) - px4_systemreset(false); + board_reset(0); #endif }