mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 08:38:36 -04:00
HAL_ChibiOS: use system_halt_hook()
This commit is contained in:
parent
c1575654e2
commit
ef993f380f
@ -725,6 +725,8 @@
|
||||
#define CH_CFG_SYSTEM_HALT_HOOK(reason) do { \
|
||||
extern void memory_flush_all(void); \
|
||||
memory_flush_all(); \
|
||||
extern void system_halt_hook(void); \
|
||||
system_halt_hook(); \
|
||||
} while(0)
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user