updated the proto with the new definition for the i2c scan stuff, and updated the react components accordingly
This commit is contained in:
parent
8b69632be4
commit
4cfbe9f1c6
4 changed files with 13 additions and 13 deletions
|
|
@ -207,7 +207,7 @@ export default function DeviceScannedComponents(props: Props){
|
|||
</Box>
|
||||
{scannedI2C.settings?.foundAddresses && scannedI2C.settings.foundAddresses.length > 0 ? scannedI2C?.settings?.foundAddresses.map((addr, index) => {
|
||||
return (
|
||||
<ScannedI2C key={index} sensorNum={index+1} decimalAddress={addr} deviceProduct={device.settings.product} componentSelectionCallback={componentSelection} availablePositions={availablePositions.get(quack.AddressType.ADDRESS_TYPE_I2C) ?? []}/>
|
||||
<ScannedI2C key={index} sensorNum={index+1} addressData={addr} deviceProduct={device.settings.product} componentSelectionCallback={componentSelection} availablePositions={availablePositions.get(quack.AddressType.ADDRESS_TYPE_I2C) ?? []}/>
|
||||
)
|
||||
}) :
|
||||
<Box sx={{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue