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:
@@ -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]) ||
|
||||
|
||||
Reference in New Issue
Block a user