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