AP_HAL: update last_crash_dump api

This commit is contained in:
bugobliterator 2021-11-03 22:16:59 +05:30 committed by Andrew Tridgell
parent b1e25ec4fd
commit 0c69ebc50e
1 changed files with 2 additions and 1 deletions

View File

@ -192,7 +192,8 @@ public:
// log info on stack usage
virtual void log_stack_info(void) {}
virtual void last_crash_dump(ExpandingString &str) const {}
virtual size_t last_crash_dump_size() const { return 0; }
virtual void* last_crash_dump_ptr() const { return nullptr; }
protected:
// we start soft_armed false, so that actuators don't send any
// values until the vehicle code has fully started