fsfw/src/fsfw/osal/rtems/BinarySemaphore.cpp

16 lines
417 B
C++
Raw Normal View History

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