From f9f47cbeeb7b11985b8d22afc46ae6345736311d Mon Sep 17 00:00:00 2001 From: bugobliterator Date: Sat, 23 Oct 2021 12:03:59 +0530 Subject: [PATCH] AP_HAL: add method to fetch last crash dump --- libraries/AP_HAL/Util.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/AP_HAL/Util.h b/libraries/AP_HAL/Util.h index 53e0d98768..a6ba4f7463 100644 --- a/libraries/AP_HAL/Util.h +++ b/libraries/AP_HAL/Util.h @@ -190,7 +190,8 @@ public: // log info on stack usage virtual void log_stack_info(void) {} - + + virtual void last_crash_dump(ExpandingString &str) const {} protected: // we start soft_armed false, so that actuators don't send any // values until the vehicle code has fully started