1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-28 21:53:48 +00:00

Streamline setup() logging (g, h, i) (#8927)

This commit is contained in:
Keith Burzinski
2025-05-28 13:55:02 -05:00
committed by GitHub
parent 18653f8f69
commit 0ce03ae26b
29 changed files with 34 additions and 35 deletions

View File

@@ -22,7 +22,7 @@ static const uint8_t HMC5883L_REGISTER_IDENTIFICATION_B = 0x0B;
static const uint8_t HMC5883L_REGISTER_IDENTIFICATION_C = 0x0C;
void HMC5883LComponent::setup() {
ESP_LOGCONFIG(TAG, "Setting up HMC5583L...");
ESP_LOGCONFIG(TAG, "Running setup");
uint8_t id[3];
if (!this->read_byte(HMC5883L_REGISTER_IDENTIFICATION_A, &id[0]) ||
!this->read_byte(HMC5883L_REGISTER_IDENTIFICATION_B, &id[1]) ||