1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-23 08:06:13 +01:00

Update IO_EXIOExpander.h

_I2CAddress or _i2cAddress - the checkOverlap function uses the former, and the driver uses the latter.  I incorrectly used the wrong one!
This commit is contained in:
Neil McKechnie 2023-02-28 23:49:51 +00:00
parent 5fb10fa6d0
commit 0663cc6138

View File

@ -106,12 +106,12 @@ private:
_minorVer = _versionBuffer[1];
_patchVer = _versionBuffer[2];
DIAG(F("EX-IOExpander device found, I2C:%s, Version v%d.%d.%d"),
_I2CAddress.toString(), _versionBuffer[0], _versionBuffer[1], _versionBuffer[2]);
_i2cAddress.toString(), _versionBuffer[0], _versionBuffer[1], _versionBuffer[2]);
#ifdef DIAG_IO
_display();
#endif
} else {
DIAG(F("EX-IOExpander device not found, I2C:%s"), _I2CAddress.toString());
DIAG(F("EX-IOExpander device not found, I2C:%s"), _i2cAddress.toString());
_deviceState = DEVSTATE_FAILED;
}
}