diff --git a/components/esp32_presense/esp32_presense.cpp b/components/esp32_presense/esp32_presense.cpp index 8ee7146..35431d8 100644 --- a/components/esp32_presense/esp32_presense.cpp +++ b/components/esp32_presense/esp32_presense.cpp @@ -65,18 +65,18 @@ namespace esphome void ESP32Presense::setup() { - ESP_LOGD("SETUP1") + ESP_LOGD(TAG, "SETUP1") 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); - ESP_LOGD("SETUP3") + ESP_LOGD(TAG, "SETUP3") } void ESP32Presense::loop() { - ESP_LOGD("LOOP1") + ESP_LOGD(TAG, "LOOP1") reportLoop(); - ESP_LOGD("LOOP2") + ESP_LOGD(TAG, "LOOP2") } void ESP32Presense::reportLoop()