From 7e92bbc7bdc4e25bf3f1ee40c76033ec35df4407 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Mon, 12 Oct 2020 17:06:42 +1100 Subject: [PATCH] AP_HAL_Empty: remove un-needed constructor Not sure the initialisation is needed but retained it. --- libraries/AP_HAL_Empty/Semaphores.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_HAL_Empty/Semaphores.h b/libraries/AP_HAL_Empty/Semaphores.h index c2f8618a22..230ee9cfc0 100644 --- a/libraries/AP_HAL_Empty/Semaphores.h +++ b/libraries/AP_HAL_Empty/Semaphores.h @@ -4,7 +4,7 @@ class Empty::Semaphore : public AP_HAL::Semaphore { public: - Semaphore() : _taken(false) {} + bool give() override; bool take(uint32_t timeout_ms) override; bool take_nonblocking() override;