From a3a8b9527759a7e9458b4b4afb3d3e47cd360814 Mon Sep 17 00:00:00 2001 From: csawatzky Date: Mon, 28 Jul 2025 16:37:11 -0600 Subject: [PATCH] added to the filter to remove any expander entries when there is no expander line --- src/device/autoDetect/DeviceScannedComponents.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/device/autoDetect/DeviceScannedComponents.tsx b/src/device/autoDetect/DeviceScannedComponents.tsx index 6899959..5e91dd0 100644 --- a/src/device/autoDetect/DeviceScannedComponents.tsx +++ b/src/device/autoDetect/DeviceScannedComponents.tsx @@ -67,10 +67,11 @@ export default function DeviceScannedComponents(props: Props){ //filter the address data scannedI2C?.settings?.foundAddresses.forEach(addrData => { if(!i2cBlacklistAddresses.includes(addrData.address)){ - valid.push(addrData) + if(!(addrData.address === 0x71 && addrData.expansionLine === undefined)){ + valid.push(addrData) + } } }) - console.log(valid) setValidComponentAddresses(valid) },[scannedI2C])