From 4d611dbd5edf0d5e06fdcab836a0ddadf528d8fd Mon Sep 17 00:00:00 2001 From: Austin Andrews Date: Mon, 24 Aug 2026 19:21:47 -0500 Subject: [PATCH] Update mcp230xx.js constructor --- modules/drivers/mcp230xx/mcp230xx.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/drivers/mcp230xx/mcp230xx.js b/modules/drivers/mcp230xx/mcp230xx.js index 605d74abf..a6bbb5486 100644 --- a/modules/drivers/mcp230xx/mcp230xx.js +++ b/modules/drivers/mcp230xx/mcp230xx.js @@ -30,8 +30,8 @@ const INPUT_PULLUP = 1; const OUTPUT = 8; class Expander extends SMBus { - constructor(dictionary = { address: 0x20 }) { - super(dictionary); + constructor(dictionary = {}) { + super({ address: 0x20, ...dictionary }); const { // User specific state initialization settings