ardupilot/libraries/AP_HAL_Empty/Semaphores.h
Peter Barker 7e92bbc7bd AP_HAL_Empty: remove un-needed constructor
Not sure the initialisation is needed but retained it.
2020-10-13 19:55:34 +11:00

14 lines
240 B
C++

#pragma once
#include "AP_HAL_Empty.h"
class Empty::Semaphore : public AP_HAL::Semaphore {
public:
bool give() override;
bool take(uint32_t timeout_ms) override;
bool take_nonblocking() override;
private:
bool _taken;
};