This commit is contained in:
Maxim Slipenko 2023-12-10 11:09:42 +03:00
parent 928ee7b152
commit 0634843815

View File

@ -65,13 +65,18 @@ namespace esphome
void ESP32Presense::setup()
{
ESP_LOGD("SETUP1")
BleFingerprintCollection::Setup();
ESP_LOGD("SETUP2")
xTaskCreatePinnedToCore(scanTask, "scanTask", SCAN_TASK_STACK_SIZE, nullptr, 1, &scanTaskHandle, CONFIG_BT_NIMBLE_PINNED_TO_CORE);
ESP_LOGD("SETUP3")
}
void ESP32Presense::loop()
{
ESP_LOGD("LOOP1")
reportLoop();
ESP_LOGD("LOOP2")
}
void ESP32Presense::reportLoop()