diff --git a/src/utilities.cpp b/src/utilities.cpp index 857c346..a90d71b 100644 --- a/src/utilities.cpp +++ b/src/utilities.cpp @@ -31,12 +31,16 @@ void bluetoothScanner(void *parameters) { BLEScan *pBLEScan = static_cast(parameters); for( ;; ) { + + pBLEScan -> clearResults(); // delete results fromBLEScan buffer to release memory + vTaskDelay(20 / portTICK_PERIOD_MS ); + pBLEScan -> start(BT_DEFAULT_SCAN_DURATION_IN_SECONDS, false); // Tell the task how long to delay for: vTaskDelay(2000 / portTICK_PERIOD_MS ); - pBLEScan -> clearResults(); // delete results fromBLEScan buffer to release memory - vTaskDelay(20 / portTICK_PERIOD_MS ); + + } } \ No newline at end of file diff --git a/src/webcontent.h b/src/webcontent.h index 458eac5..070b5d5 100644 --- a/src/webcontent.h +++ b/src/webcontent.h @@ -391,7 +391,7 @@ BLEcker home update -
v1.11 - 177
+
v1.11 - 178