mirror of
https://github.com/esphome/esphome.git
synced 2025-10-25 05:03:52 +01:00
[core] Centralize component setup logging to reduce flash usage (#9885)
This commit is contained in:
@@ -9,7 +9,6 @@ namespace adc {
|
||||
static const char *const TAG = "adc.libretiny";
|
||||
|
||||
void ADCSensor::setup() {
|
||||
ESP_LOGCONFIG(TAG, "Running setup for '%s'", this->get_name().c_str());
|
||||
#ifndef USE_ADC_SENSOR_VCC
|
||||
this->pin_->setup();
|
||||
#endif // !USE_ADC_SENSOR_VCC
|
||||
|
||||
Reference in New Issue
Block a user