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

18 lines
400 B
C++

#include "BinarySemaphore.h"
#include <rtems/rtems/sem.h>
// TODO
BinarySemaphore::BinarySemaphore() {}
BinarySemaphore::~BinarySemaphore() {}
ReturnValue_t BinarySemaphore::acquire(TimeoutType timeoutType, uint32_t timeoutMs) {
return returnvalue::OK;
}
ReturnValue_t BinarySemaphore::release() { return returnvalue::OK; }
uint8_t BinarySemaphore::getSemaphoreCounter() const { return 0; }