Add files via upload (#20959)

This commit is contained in:
fb-pilot 2024-03-16 12:12:18 +01:00 committed by GitHub
parent ca17be0e0b
commit 73a52945c2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ bool Ina3221SetConfig(uint8_t addr)
// write default configuration
uint16_t config = INA3221_ENABLE_MASK |
INA3221_CONFIG_INIT |
INA3221_MODE_BUS_VOLTAGE_CONTINUOUS;
INA3221_MODE_SHUNT_AND_BUS_CONTINOUS;
DEBUG_SENSOR_LOG(PSTR(D_INA3221 ":SetConfig: addr:0x%02X, config=0x%04X"), addr, config);
// Set Config register
if (!I2cWrite16(addr, INA3221_REG_CONFIG, config))