added semaph factory to linux

This commit is contained in:
muellerr committed 2020-05-27 00:28:13 +02:00
1 parent f7dd91891a
commit be4ac0bc8f
2 files changed
+38

No files matched your search

+2
View File
@@ -3,6 +3,8 @@
#include <framework/serviceinterface/ServiceInterfaceStream.h>
const uint32_t SemaphoreIF::NO_TIMEOUT = 0;
BinarySemaphore::BinarySemaphore() {
handle = xSemaphoreCreateBinary();
if(handle == nullptr) {