From 73a52945c2684d5cde1c07a5ad076465f1606e9f Mon Sep 17 00:00:00 2001 From: fb-pilot Date: Sat, 16 Mar 2024 12:12:18 +0100 Subject: [PATCH] Add files via upload (#20959) --- tasmota/tasmota_xsns_sensor/xsns_100_ina3221.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasmota/tasmota_xsns_sensor/xsns_100_ina3221.ino b/tasmota/tasmota_xsns_sensor/xsns_100_ina3221.ino index 6c67243b5..aed6b0a2f 100644 --- a/tasmota/tasmota_xsns_sensor/xsns_100_ina3221.ino +++ b/tasmota/tasmota_xsns_sensor/xsns_100_ina3221.ino @@ -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))