Fix esp32_ble_tracker setup priority (#4346)

This commit is contained in:
Jesse Hills 2023-01-26 07:56:36 +13:00 committed by GitHub
parent 36c2e770bf
commit d94e9d92ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,7 +45,7 @@ uint64_t ble_addr_to_uint64(const esp_bd_addr_t address) {
return u;
}
float ESP32BLETracker::get_setup_priority() const { return setup_priority::BLUETOOTH; }
float ESP32BLETracker::get_setup_priority() const { return setup_priority::AFTER_BLUETOOTH; }
void ESP32BLETracker::setup() {
if (this->parent_->is_failed()) {