mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-11-27 10:57:17 +00:00
do not await for attached boards.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
@@ -34,7 +34,7 @@ export class BoardsServiceClientImpl implements BoardsServiceClient {
|
||||
const { selectedPort, selectedBoard } = this.boardsConfig;
|
||||
this.onAttachedBoardsChangedEmitter.fire(event);
|
||||
// Dynamically unset the port if the selected board was an attached one and we detached it.
|
||||
if (!!selectedPort && detachedBoards.indexOf(selectedPort) === -1) {
|
||||
if (!!selectedPort && detachedBoards.indexOf(selectedPort) !== -1) {
|
||||
this.boardsConfig = {
|
||||
selectedBoard,
|
||||
selectedPort: undefined
|
||||
|
||||
Reference in New Issue
Block a user