Browse Source

AP_HAL_Empty: add check owner method

gps-1.3.1
Siddharth Purohit 4 years ago committed by Andrew Tridgell
parent
commit
215c1249cb
  1. 1
      libraries/AP_HAL_Empty/Semaphores.h

1
libraries/AP_HAL_Empty/Semaphores.h

@ -8,6 +8,7 @@ public:
bool give() override; bool give() override;
bool take(uint32_t timeout_ms) override; bool take(uint32_t timeout_ms) override;
bool take_nonblocking() override; bool take_nonblocking() override;
bool check_owner() { return true; }
private: private:
bool _taken; bool _taken;
}; };

Loading…
Cancel
Save