diff options
Diffstat (limited to 'src/BLEServer.cpp')
-rw-r--r-- | src/BLEServer.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/BLEServer.cpp b/src/BLEServer.cpp index 4a8dfd5..0e66ec0 100644 --- a/src/BLEServer.cpp +++ b/src/BLEServer.cpp @@ -20,6 +20,9 @@ #include <string> #include <gatt_api.h> #include <unordered_set> +#ifdef ARDUINO_ARCH_ESP32 +#include "esp32-hal-log.h" +#endif static const char* LOG_TAG = "BLEServer"; @@ -198,7 +201,6 @@ void BLEServer::handleGATTServerEvent( // - uint16_t app_id case ESP_GATTS_REG_EVT: { m_gatts_if = gatts_if; - m_semaphoreRegisterAppEvt.give(); // Unlock the mutex waiting for the registration of the app. break; } // ESP_GATTS_REG_EVT |