We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ba172b commit cfd3cf2Copy full SHA for cfd3cf2
arduino-core/src/cc/arduino/packages/discoverers/NetworkDiscovery.java
@@ -113,15 +113,12 @@ public void serviceResolved(ServiceEvent serviceEvent) {
113
String label = name + " at " + address;
114
if (board != null && BaseNoGui.packages != null) {
115
String boardName = BaseNoGui.getPlatform().resolveDeviceByBoardID(BaseNoGui.packages, board);
116
- if (boardName != null) {
117
- label += " (" + boardName + ")";
118
- }
+ port.setBoardName(boardName);
119
} else if (description != null) {
120
label += " (" + description + ")";
121
}
122
123
port.setAddress(address);
124
- port.setBoardName(name);
125
port.setProtocol("network");
126
port.setLabel(label);
127
0 commit comments