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

18 lines
400 B
C++
Raw Normal View History

2021-07-19 18:40:35 +02:00
#include "BinarySemaphore.h"
#include <rtems/rtems/sem.h>
2023-01-26 13:40:44 +01:00
// TODO
2023-01-20 16:05:04 +01:00
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-08-15 20:28:16 +02:00
return returnvalue::OK;
}
2022-08-15 20:28:16 +02:00
ReturnValue_t BinarySemaphore::release() { return returnvalue::OK; }
2022-02-02 10:29:30 +01:00
uint8_t BinarySemaphore::getSemaphoreCounter() const { return 0; }