1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-01 01:22:20 +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

@@ -119,7 +119,7 @@ const float GRAVITY_EARTH = 9.80665f;
void BMI160Component::internal_setup_(int stage) {
switch (stage) {
case 0:
ESP_LOGCONFIG(TAG, "Setting up BMI160...");
ESP_LOGCONFIG(TAG, "Running setup");
uint8_t chipid;
if (!this->read_byte(BMI160_REGISTER_CHIPID, &chipid) || (chipid != 0b11010001)) {
this->mark_failed();