From 984a7aba4253fb29e25f2022e909f17adc447d22 Mon Sep 17 00:00:00 2001 From: olehs Date: Sun, 20 May 2018 15:59:04 +0300 Subject: [PATCH] reset m_haveServices in clearServices() #522 --- cpp_utils/BLEClient.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/cpp_utils/BLEClient.cpp b/cpp_utils/BLEClient.cpp index 57ff4d21..f4524980 100644 --- a/cpp_utils/BLEClient.cpp +++ b/cpp_utils/BLEClient.cpp @@ -77,6 +77,7 @@ void BLEClient::clearServices() { delete myPair.second; } m_servicesMap.clear(); + m_haveServices = false; ESP_LOGD(LOG_TAG, "<< clearServices"); } // clearServices