Skip to content

Commit

Permalink
AP_HAL_Empty: add check owner method
Browse files Browse the repository at this point in the history
  • Loading branch information
bugobliterator authored and tridge committed Sep 1, 2021
1 parent 39bd229 commit 215c124
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/AP_HAL_Empty/Semaphores.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ class Empty::Semaphore : public AP_HAL::Semaphore {
bool give() override;
bool take(uint32_t timeout_ms) override;
bool take_nonblocking() override;
bool check_owner() { return true; }
private:
bool _taken;
};

0 comments on commit 215c124

Please sign in to comment.