Skip to content

Commit 40923e2

Browse files
author
Akos Kitta
committed
Set the port properties for upload.
Signed-off-by: Akos Kitta <[email protected]>
1 parent 88a91a3 commit 40923e2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

arduino-ide-extension/src/node/core-service-impl.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,11 @@ export class CoreServiceImpl extends CoreClientAware implements CoreService {
412412
rpcPort.setLabel(port.addressLabel);
413413
rpcPort.setProtocol(port.protocol);
414414
rpcPort.setProtocolLabel(port.protocolLabel);
415+
if (port.properties) {
416+
for (const [key, value] of Object.entries(port.properties)) {
417+
rpcPort.getPropertiesMap().set(key, value);
418+
}
419+
}
415420
}
416421
return rpcPort;
417422
}

0 commit comments

Comments
 (0)