From 490c48eefee67107987ffae173f7ff788a736477 Mon Sep 17 00:00:00 2001 From: Norbert <48217146+Noschvie@users.noreply.github.com> Date: Mon, 4 Nov 2024 08:50:20 +0100 Subject: [PATCH] Add #ifndef for MCP23XXX_ADDR_START and MCP23XXX_ADDR_END (#22424) As discussed in #22410. --- tasmota/tasmota_xdrv_driver/xdrv_67_mcp23xxx.ino | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tasmota/tasmota_xdrv_driver/xdrv_67_mcp23xxx.ino b/tasmota/tasmota_xdrv_driver/xdrv_67_mcp23xxx.ino index 04422091f..3182362ad 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_67_mcp23xxx.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_67_mcp23xxx.ino @@ -75,8 +75,12 @@ #define XDRV_67 67 #define XI2C_77 77 // See I2CDEVICES.md +#ifndef MCP23XXX_ADDR_START #define MCP23XXX_ADDR_START 0x20 // 32 +#endif +#ifndef MCP23XXX_ADDR_END #define MCP23XXX_ADDR_END 0x26 // 38 +#endif #define MCP23XXX_MAX_DEVICES 6