Browse Source

AP_HAL: added stack logging

gps-1.3.1
Andrew Tridgell 3 years ago
parent
commit
8157c24977
  1. 3
      libraries/AP_HAL/Util.h

3
libraries/AP_HAL/Util.h

@ -188,6 +188,9 @@ public: @@ -188,6 +188,9 @@ public:
// generate Random values, will block until enough entropy is available
virtual bool get_true_random_vals(uint8_t* data, size_t size, uint32_t timeout_us) { return false; }
// log info on stack usage
virtual void log_stack_info(void) {}
protected:
// we start soft_armed false, so that actuators don't send any
// values until the vehicle code has fully started

Loading…
Cancel
Save