This commit is contained in:
Maxim Slipenko 2023-12-10 11:18:04 +03:00
parent 0634843815
commit e47b9a9df9

View File

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