Another tweak to improve update performance
This commit is contained in:
parent
7d4ddc8eb0
commit
9e72d4887a
|
@ -516,6 +516,9 @@ void scanTask(void *parameter)
|
||||||
if (f->query())
|
if (f->query())
|
||||||
totalFpQueried++;
|
totalFpQueried++;
|
||||||
|
|
||||||
|
while (updateInProgress)
|
||||||
|
delay(1000);
|
||||||
|
|
||||||
if (!pBLEScan->isScanning())
|
if (!pBLEScan->isScanning())
|
||||||
{
|
{
|
||||||
if (!pBLEScan->start(0, nullptr, true))
|
if (!pBLEScan->start(0, nullptr, true))
|
||||||
|
|
Loading…
Reference in New Issue