board_crashdump uses board_system_reset API

This commit is contained in:
David Sidrane
2017-01-23 12:18:17 -10:00
committed by Lorenz Meier
parent 3692a62c35
commit c2c8962765
+1 -1
View File
@@ -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
}