diff --git a/libraries/AP_Scheduler/AP_Scheduler.h b/libraries/AP_Scheduler/AP_Scheduler.h index a5700e67a7..d37366be06 100644 --- a/libraries/AP_Scheduler/AP_Scheduler.h +++ b/libraries/AP_Scheduler/AP_Scheduler.h @@ -50,6 +50,9 @@ public: // return the number of microseconds available for the current task uint16_t time_available_usec(void); + // return debug parameter + uint8_t debug(void) { return _debug; } + static const struct AP_Param::GroupInfo var_info[]; private: