tweaked factory to have configurability
This commit is contained in:
@ -13,8 +13,9 @@ class CountingSemaphoreUsingTask: public SemaphoreIF {
|
||||
public:
|
||||
CountingSemaphoreUsingTask(uint8_t count, uint8_t initCount);
|
||||
|
||||
ReturnValue_t acquire(uint32_t timeoutMs);
|
||||
ReturnValue_t release();
|
||||
ReturnValue_t acquire(uint32_t timeoutMs) override;
|
||||
ReturnValue_t release() override;
|
||||
uint8_t getSemaphoreCounter() override;
|
||||
|
||||
private:
|
||||
TaskHandle_t handle;
|
||||
|
Reference in New Issue
Block a user