summaryrefslogtreecommitdiff
path: root/src/BLEScan.cpp
diff options
context:
space:
mode:
authorSebastian Kliem <sebastian-kliem@live.de>2017-09-29 14:35:33 +0200
committerSebastian Kliem <sebastian-kliem@live.de>2017-09-29 14:35:33 +0200
commit01d62e30721bedef78c9166ffece5b25ea12d58c (patch)
tree98e810ce87dbd3310a1bda62eed18913787a7c1c /src/BLEScan.cpp
parentMerge pull request #3 from ciotlosm/master (diff)
downloadthermostat-01d62e30721bedef78c9166ffece5b25ea12d58c.tar.gz
thermostat-01d62e30721bedef78c9166ffece5b25ea12d58c.tar.bz2
thermostat-01d62e30721bedef78c9166ffece5b25ea12d58c.zip
fix clearing of vectors and maps()
Diffstat (limited to 'src/BLEScan.cpp')
-rw-r--r--src/BLEScan.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BLEScan.cpp b/src/BLEScan.cpp
index 9fdcffd..54fcac0 100644
--- a/src/BLEScan.cpp
+++ b/src/BLEScan.cpp
@@ -204,7 +204,7 @@ BLEScanResults BLEScan::start(uint32_t duration) {
m_semaphoreScanEnd.take("start");
- m_scanResults.m_vectorAdvertisedDevices.empty();
+ m_scanResults.m_vectorAdvertisedDevices.clear();
esp_err_t errRc = ::esp_ble_gap_set_scan_params(&m_scan_params);