Move tag to .cpp

This commit is contained in:
Edward Firmo
2025-08-06 19:06:39 +02:00
parent 1bb444e008
commit dbbbc4040d
2 changed files with 14 additions and 0 deletions

View File

@@ -1,5 +1,7 @@
// tx_ultimate_easy_touch.cpp
#ifdef TX_ULTIMATE_EASY_CORE_HW_TOUCH
#include "esphome/core/log.h"
#include "tx_ultimate_easy_touch.h"
#include <cinttypes>
@@ -8,6 +10,9 @@
namespace esphome {
namespace tx_ultimate_easy {
// Log tag
static const char *TAG = "tx_ultimate_easy.touch";
void TxUltimateEasy::setup() {
ESP_LOGI(TAG, "TX Ultimate Easy is initialized");
}
@@ -225,3 +230,5 @@ namespace esphome {
} // namespace tx_ultimate_easy
} // namespace esphome
#endif // TX_ULTIMATE_EASY_CORE_HW_TOUCH