tweaked factory to have configurability
This commit is contained in:
1 parent
b4065c7764
commit
eabee85ba9
3 files changed
+44
-4
No files matched your search
@@ -6,3 +6,16 @@ CountingSemaphoreUsingTask::CountingSemaphoreUsingTask(uint8_t count,
|
||||
count(count), initCount(initCount) {
|
||||
handle = TaskManagement::getCurrentTaskHandle();
|
||||
}
|
||||
|
||||
ReturnValue_t CountingSemaphoreUsingTask::acquire(
|
||||
uint32_t timeoutMs) {
|
||||
return HasReturnvaluesIF::RETURN_OK;
|
||||
}
|
||||
|
||||
ReturnValue_t CountingSemaphoreUsingTask::release() {
|
||||
return HasReturnvaluesIF::RETURN_OK;
|
||||
}
|
||||
|
||||
uint8_t CountingSemaphoreUsingTask::getSemaphoreCounter() {
|
||||
return 0;
|
||||
}
|
||||
Reference in new issue
Block a user