8000 Fixes for issue #93 · headcloudmonkey/esp32-snippets@5b074fb · GitHub
[go: up one dir, main page]

Skip to content

Commit 5b074fb

Browse files
committed
Fixes for issue nkolban#93
1 parent 447a52e commit 5b074fb

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

cpp_utils/BLEScan.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -203,13 +203,10 @@ BLEScanResults BLEScan::start(uint32_t duration) {
203203
ESP_LOGD(LOG_TAG, ">> start(%d)", duration);
204204

205205
m_semaphoreScanEnd.take("start");
206-
ESP_LOGD(LOG_TAG, "A");
207206

208-
m_scanResults.m_vectorAdvertisedDevices.empty();
209-
ESP_LOGD(LOG_TAG, "B");
207+
m_scanResults.m_vectorAdvertisedDevices.clear();
210208

211209
esp_err_t errRc = ::esp_ble_gap_set_scan_params(&m_scan_params);
212-
ESP_LOGD(LOG_TAG, "C");
213210

214211
if (errRc != ESP_OK) {
215212
ESP_LOGE(LOG_TAG, "esp_ble_gap_set_scan_params: err: %d, text: %s", errRc, GeneralUtils::errorToString(errRc));

0 commit comments

Comments
 (0)
0