mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-06 16:49:51 +08:00
board_crashdump uses board_system_reset API
This commit is contained in:
committed by
Lorenz Meier
parent
3692a62c35
commit
c2c8962765
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user