Skip to content

Commit 7fa355a

Browse files
committed
Call on onBoardOrPortChange after selectBoard in no GUI mode
Like GUI mode does when a board is changed.
1 parent f8b764a commit 7fa355a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arduino-core/src/processing/app/helpers/CommandlineParser.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ private void processBoardArgument(String selectBoard) {
249249
}
250250

251251
BaseNoGui.selectBoard(targetBoard);
252+
BaseNoGui.onBoardOrPortChange();
252253

253254
if (split.length > 3) {
254255
String[] options = split[3].split(",");

0 commit comments

Comments
 (0)