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