AP_HAL: added a new_semaphore() interface to Util

This commit is contained in:
Andrew Tridgell 2015-12-17 08:23:57 +11:00
parent 9fe25f9c71
commit 9d4b31ca3c

View File

@ -89,6 +89,9 @@ public:
virtual void perf_begin(perf_counter_t h) {} virtual void perf_begin(perf_counter_t h) {}
virtual void perf_end(perf_counter_t h) {} virtual void perf_end(perf_counter_t h) {}
virtual void perf_count(perf_counter_t h) {} virtual void perf_count(perf_counter_t h) {}
// create a new semaphore
virtual Semaphore *new_semaphore(void) { return nullptr; }
protected: protected:
// we start soft_armed false, so that actuators don't send any // we start soft_armed false, so that actuators don't send any