This commit is contained in:
2023-12-10 09:08:23 +03:00
parent e464f33da3
commit 4c4e6b3862
10 changed files with 205 additions and 56 deletions

View File

@@ -57,7 +57,7 @@ namespace esphome
}
// TODO: It takes some time to setup bluetooth? Why not just move this to loop?
delay(200);
esphome::delay(200);
}
void NimbleTracker::loop()
@@ -71,7 +71,7 @@ namespace esphome
}
// TODO: we shouldn't block the main thread here, instead work with a setTimeout callback?
delay(200);
esphome::delay(200);
}
NimbleTrackerEvent *tracker_event = this->tracker_events_.pop();