Remove semaphores, use task notifications instead.

This commit is contained in:
h2zero
2020-06-11 08:06:16 -06:00
parent e987ad58b2
commit 74f48f5d5e
8 changed files with 34 additions and 36 deletions
+1 -2
View File
@@ -42,7 +42,6 @@ typedef enum {
#include "NimBLEService.h"
#include "NimBLEDescriptor.h"
#include "FreeRTOS.h"
#include <string>
#include <vector>
@@ -120,7 +119,7 @@ private:
NimBLEService* m_pService;
std::string m_value;
std::vector<NimBLEDescriptor*> m_dscVec;
FreeRTOS::Semaphore *m_pIndSemaphore;
ble_task_data_t *m_pTaskData;
portMUX_TYPE m_valMux;
}; // NimBLECharacteristic