diff --git a/esphome/components/adc/adc_sensor_esp32_v4.cpp b/esphome/components/adc/adc_sensor_esp32_v4.cpp index 9aae11d4ca..a9fe4d3216 100644 --- a/esphome/components/adc/adc_sensor_esp32_v4.cpp +++ b/esphome/components/adc/adc_sensor_esp32_v4.cpp @@ -8,7 +8,7 @@ namespace esphome { namespace adc { -static const char *const TAG = "adc.esp32.v4"; +static const char *const TAG = "adc.esp32"; static const adc_bits_width_t ADC_WIDTH_MAX_SOC_BITS = static_cast(ADC_WIDTH_MAX - 1); @@ -75,7 +75,7 @@ void ADCSensor::dump_config() { case ADC_ATTEN_DB_12_COMPAT: ESP_LOGCONFIG(TAG, " Attenuation: 12db"); break; - default: + default: // This is to satisfy the unused ADC_ATTEN_MAX break; } } diff --git a/esphome/components/adc/adc_sensor_esp32_v5.cpp b/esphome/components/adc/adc_sensor_esp32_v5.cpp index e95a7a6c35..6da0ea307c 100644 --- a/esphome/components/adc/adc_sensor_esp32_v5.cpp +++ b/esphome/components/adc/adc_sensor_esp32_v5.cpp @@ -8,7 +8,7 @@ namespace esphome { namespace adc { -static const char *const TAG = "adc.esp32.v5"; +static const char *const TAG = "adc.esp32"; void ADCSensor::setup() { ESP_LOGCONFIG(TAG, "Setting up ADC '%s'...", this->get_name().c_str());