mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-24 13:58:09 +00:00
Missing break in INA3221 i2c scan (#3692)
* INA3221 Mis-identification fix * Missing break in INA3221 i2c scan
This commit is contained in:
parent
ac87c0065f
commit
679e068e19
@ -279,6 +279,7 @@ void ScanI2CTwoWire::scanPort(I2CPort port)
|
|||||||
} else { // Unknown device
|
} else { // Unknown device
|
||||||
LOG_INFO("No INA3221 found at address 0x%x\n", (uint8_t)addr.address);
|
LOG_INFO("No INA3221 found at address 0x%x\n", (uint8_t)addr.address);
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
case MCP9808_ADDR:
|
case MCP9808_ADDR:
|
||||||
registerValue = getRegisterValue(ScanI2CTwoWire::RegisterLocation(addr, 0x07), 2);
|
registerValue = getRegisterValue(ScanI2CTwoWire::RegisterLocation(addr, 0x07), 2);
|
||||||
if (registerValue == 0x0400) {
|
if (registerValue == 0x0400) {
|
||||||
|
Loading…
Reference in New Issue
Block a user