diff options
Diffstat (limited to 'src/BLEClient.cpp')
-rw-r--r-- | src/BLEClient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BLEClient.cpp b/src/BLEClient.cpp index a5d60cf..f9b38c3 100644 --- a/src/BLEClient.cpp +++ b/src/BLEClient.cpp @@ -283,7 +283,7 @@ std::map<std::string, BLERemoteService*>* BLEClient::getServices() { * and will culminate with an ESP_GATTC_SEARCH_CMPL_EVT when all have been received. */ ESP_LOGD(LOG_TAG, ">> getServices"); - m_servicesMap.empty(); + m_servicesMap.clear(); esp_err_t errRc = esp_ble_gattc_search_service( getGattcIf(), getConnId(), |