AP_HAL: add empty overridable trap method

This commit is contained in:
Peter Barker 2019-04-01 19:38:35 +11:00 committed by Peter Barker
parent 441f43103a
commit 1344827c07

View File

@ -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