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 f81798b commit f5bf6e5Copy full SHA for f5bf6e5
arduino-core/src/cc/arduino/packages/BoardPort.java
@@ -47,6 +47,18 @@ public BoardPort() {
47
this.prefs = new PreferencesMap();
48
}
49
50
+ public BoardPort(BoardPort bp) {
51
+ prefs = new PreferencesMap();
52
+ // TODO: copy bp.prefs to prefs
53
+ address = bp.address;
54
+ protocol = bp.protocol;
55
+ boardName = bp.boardName;
56
+ vid = bp.vid;
57
+ pid = bp.pid;
58
+ iserial = bp.iserial;
59
+ label = bp.label;
60
+ }
61
+
62
public String getAddress() {
63
return address;
64
0 commit comments