From 9e72d4887a9d1c729134d6faf6d6ee0e0405b4d4 Mon Sep 17 00:00:00 2001 From: DTTerastar Date: Fri, 8 Jul 2022 11:10:15 -0400 Subject: [PATCH] Another tweak to improve update performance --- src/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index d01da96..3630afd 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -516,6 +516,9 @@ void scanTask(void *parameter) if (f->query()) totalFpQueried++; + while (updateInProgress) + delay(1000); + if (!pBLEScan->isScanning()) { if (!pBLEScan->start(0, nullptr, true))