From d47cf59ba92f91b1317ba9721324d12320266508 Mon Sep 17 00:00:00 2001 From: h2zero Date: Fri, 14 Jan 2022 20:45:24 -0700 Subject: [PATCH] Cleanup compile errors in arm-gcc. --- src/NimBLEClient.cpp | 1 + src/NimBLERemoteCharacteristic.cpp | 2 ++ src/NimBLERemoteDescriptor.cpp | 2 ++ src/NimBLERemoteService.cpp | 2 ++ src/NimBLEScan.cpp | 1 + 5 files changed, 8 insertions(+) diff --git a/src/NimBLEClient.cpp b/src/NimBLEClient.cpp index f5a1685..60886d5 100644 --- a/src/NimBLEClient.cpp +++ b/src/NimBLEClient.cpp @@ -20,6 +20,7 @@ #include #include +#include #if defined(CONFIG_NIMBLE_CPP_IDF) #include "nimble/nimble_port.h" diff --git a/src/NimBLERemoteCharacteristic.cpp b/src/NimBLERemoteCharacteristic.cpp index 23b253b..7fe283d 100644 --- a/src/NimBLERemoteCharacteristic.cpp +++ b/src/NimBLERemoteCharacteristic.cpp @@ -19,6 +19,8 @@ #include "NimBLEUtils.h" #include "NimBLELog.h" +#include + static const char* LOG_TAG = "NimBLERemoteCharacteristic"; /** diff --git a/src/NimBLERemoteDescriptor.cpp b/src/NimBLERemoteDescriptor.cpp index b86b106..d2e1728 100644 --- a/src/NimBLERemoteDescriptor.cpp +++ b/src/NimBLERemoteDescriptor.cpp @@ -19,6 +19,8 @@ #include "NimBLEUtils.h" #include "NimBLELog.h" +#include + static const char* LOG_TAG = "NimBLERemoteDescriptor"; /** diff --git a/src/NimBLERemoteService.cpp b/src/NimBLERemoteService.cpp index 77567bf..d628e9f 100644 --- a/src/NimBLERemoteService.cpp +++ b/src/NimBLERemoteService.cpp @@ -20,6 +20,8 @@ #include "NimBLEDevice.h" #include "NimBLELog.h" +#include + static const char* LOG_TAG = "NimBLERemoteService"; /** diff --git a/src/NimBLEScan.cpp b/src/NimBLEScan.cpp index dd82cf5..041bd2f 100644 --- a/src/NimBLEScan.cpp +++ b/src/NimBLEScan.cpp @@ -20,6 +20,7 @@ #include "NimBLELog.h" #include +#include static const char* LOG_TAG = "NimBLEScan";