1
0
mirror of https://github.com/esphome/esphome.git synced 2025-02-28 15:58:16 +00:00

Keep idf v4 code unchanged

This commit is contained in:
Edward Firmo 2024-12-12 00:04:12 +01:00
parent 36b5b58884
commit 051b52ad86
2 changed files with 3 additions and 3 deletions

View File

@ -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_bits_width_t>(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;
}
}

View File

@ -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());