pulse_counter_ulp: Rename files to use suffix

This commit is contained in:
brisk 2024-07-04 22:50:31 +09:30
parent 7e22e7f813
commit 9c70733028
3 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,7 @@
#include "esphome/core/component.h" #include "esphome/core/component.h"
#include "esphome/core/automation.h" #include "esphome/core/automation.h"
#include "esphome/components/pulse_counter/pulse_counter_sensor.h" #include "esphome/components/pulse_counter_ulp/pulse_counter_ulp_sensor.h"
namespace esphome { namespace esphome {

View file

@ -1,4 +1,4 @@
#include "pulse_counter_sensor.h" #include "pulse_counter_ulp_sensor.h"
#include "esphome/core/log.h" #include "esphome/core/log.h"
#ifdef CONF_USE_ULP #ifdef CONF_USE_ULP
#include "esp32/ulp.h" #include "esp32/ulp.h"
@ -11,7 +11,7 @@
namespace esphome { namespace esphome {
namespace pulse_counter { namespace pulse_counter {
static const char *const TAG = "pulse_counter"; static const char *const TAG = "pulse_counter_ulp";
const char *const EDGE_MODE_TO_STRING[] = {"DISABLE", "INCREMENT", "DECREMENT"}; const char *const EDGE_MODE_TO_STRING[] = {"DISABLE", "INCREMENT", "DECREMENT"};