2021-07-19 18:40:35 +02:00
|
|
|
#include "BinarySemaphore.h"
|
2021-07-16 12:22:14 +02:00
|
|
|
|
|
|
|
#include <rtems/rtems/sem.h>
|
|
|
|
|
2022-02-02 10:29:30 +01:00
|
|
|
BinarySemaphore::BinarySemaphore() {}
|
2021-07-16 12:22:14 +02:00
|
|
|
|
2022-02-02 10:29:30 +01:00
|
|
|
BinarySemaphore::~BinarySemaphore() {}
|
2021-07-16 12:22:14 +02:00
|
|
|
|
|
|
|
ReturnValue_t BinarySemaphore::acquire(TimeoutType timeoutType, uint32_t timeoutMs) {
|
2022-02-02 10:29:30 +01:00
|
|
|
return HasReturnvaluesIF::RETURN_OK;
|
2021-07-16 12:22:14 +02:00
|
|
|
}
|
|
|
|
|
2022-02-02 10:29:30 +01:00
|
|
|
ReturnValue_t BinarySemaphore::release() { return HasReturnvaluesIF::RETURN_OK; }
|
2021-07-16 12:22:14 +02:00
|
|
|
|
2022-02-02 10:29:30 +01:00
|
|
|
uint8_t BinarySemaphore::getSemaphoreCounter() const { return 0; }
|