From 0663cc6138d023a714a11895e4afcb35014c85ef Mon Sep 17 00:00:00 2001 From: Neil McKechnie Date: Tue, 28 Feb 2023 23:49:51 +0000 Subject: [PATCH] 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! --- IO_EXIOExpander.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IO_EXIOExpander.h b/IO_EXIOExpander.h index 58a92ae..063b5dd 100644 --- a/IO_EXIOExpander.h +++ b/IO_EXIOExpander.h @@ -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; } }