mirror of
https://github.com/esphome/esphome.git
synced 2025-10-26 12:43:48 +00:00
[core] Centralize component setup logging to reduce flash usage (#9885)
This commit is contained in:
@@ -20,7 +20,6 @@ static const uint8_t BP5758D_ALL_DATA_CHANNEL_ENABLEMENT = 0b00011111;
|
||||
static const uint8_t BP5758D_DELAY = 2;
|
||||
|
||||
void BP5758D::setup() {
|
||||
ESP_LOGCONFIG(TAG, "Running setup");
|
||||
this->data_pin_->setup();
|
||||
this->data_pin_->digital_write(false);
|
||||
delayMicroseconds(BP5758D_DELAY);
|
||||
|
||||
Reference in New Issue
Block a user