1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-12 06:43:48 +01:00

Streamline setup() logging (k, l, m) (#8928)

This commit is contained in:
Keith Burzinski
2025-05-28 13:57:58 -05:00
committed by GitHub
parent 0ce03ae26b
commit d9a9e0aea3
51 changed files with 52 additions and 56 deletions

View File

@@ -29,8 +29,9 @@ static const uint8_t SETUP_DELAY = 4; // Wait 2 integration periods.
static const float VOUT_LSB = 14.0 / 1000.0; // 14mV/LSB
static const float TEMP_LSB = 0.48; // 0.48C/LSB
static const float MICRO_VOLTS_PER_VOLT = 1000000.0;
void MAX9611Component::setup() {
ESP_LOGCONFIG(TAG, "Setting up max9611...");
ESP_LOGCONFIG(TAG, "Running setup");
// Perform dummy-read
uint8_t value;
this->read(&value, 1);