This commit is contained in:
Maxim Slipenko 2023-12-10 11:21:52 +03:00
parent e47b9a9df9
commit 38b0dc4092

View File

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