diff --git a/libraries/AP_HAL/Util.h b/libraries/AP_HAL/Util.h index 0f8fe8c0c7..a4a75c5219 100644 --- a/libraries/AP_HAL/Util.h +++ b/libraries/AP_HAL/Util.h @@ -170,6 +170,9 @@ public: */ virtual bool fs_init(void) { return false; } + // attempt to trap the processor, presumably to enter an attached debugger + virtual bool trap() const { return false; } + protected: // we start soft_armed false, so that actuators don't send any // values until the vehicle code has fully started