1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-12 00:02:21 +01:00

Streamline setup() logging (a, b) (#8924)

This commit is contained in:
Keith Burzinski
2025-05-28 05:53:51 -05:00
committed by GitHub
parent ca6295d1bd
commit b6fa4f641d
36 changed files with 37 additions and 37 deletions

View File

@@ -20,7 +20,7 @@ void BMP085Component::update() {
this->set_timeout("temperature", 5, [this]() { this->read_temperature_(); });
}
void BMP085Component::setup() {
ESP_LOGCONFIG(TAG, "Setting up BMP085...");
ESP_LOGCONFIG(TAG, "Running setup");
uint8_t data[22];
if (!this->read_bytes(BMP085_REGISTER_AC1_H, data, 22)) {
this->mark_failed();