portduino WIP

This commit is contained in:
geeksville
2020-09-04 15:03:22 -07:00
parent ccf3522ada
commit c629b94333
11 changed files with 230 additions and 85 deletions

View File

@@ -2,7 +2,8 @@
#include "../freertosinc.h"
namespace concurrency {
namespace concurrency
{
/**
* @brief Simple wrapper around FreeRTOS API for implementing a mutex lock
@@ -26,8 +27,9 @@ class Lock
void unlock();
private:
#ifdef HAS_FREE_RTOS
SemaphoreHandle_t handle;
#endif
};
} // namespace concurrency