mirror of
https://github.com/esphome/esphome.git
synced 2025-09-28 16:12:24 +01:00
[core] Centralize component setup logging to reduce flash usage (#9885)
This commit is contained in:
@@ -148,8 +148,6 @@ void LTR390Component::read_mode_(int mode_index) {
|
||||
}
|
||||
|
||||
void LTR390Component::setup() {
|
||||
ESP_LOGCONFIG(TAG, "Running setup");
|
||||
|
||||
// reset
|
||||
std::bitset<8> ctrl = this->reg(LTR390_MAIN_CTRL).get();
|
||||
ctrl[LTR390_CTRL_RST] = true;
|
||||
|
Reference in New Issue
Block a user