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:
@@ -34,7 +34,7 @@ static const uint8_t INA219_REGISTER_CURRENT = 0x04;
|
||||
static const uint8_t INA219_REGISTER_CALIBRATION = 0x05;
|
||||
|
||||
void INA219Component::setup() {
|
||||
ESP_LOGCONFIG(TAG, "Setting up INA219...");
|
||||
ESP_LOGCONFIG(TAG, "Running setup");
|
||||
// Config Register
|
||||
// 0bx000000000000000 << 15 RESET Bit (1 -> trigger reset)
|
||||
if (!this->write_byte_16(INA219_REGISTER_CONFIG, 0x8000)) {
|
||||
|
||||
Reference in New Issue
Block a user