Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 12adc53

Browse files
authored
Bugfix: apply monitor settings on monitor opening (#1604)
Fix #1562
1 parent 8638657 commit 12adc53

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎commands/monitor/monitor.go‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,10 @@ func Monitor(ctx context.Context, req *rpc.MonitorRequest) (*PortProxy, *pluggab
8484
return nil, nil, &arduino.FailedMonitorError{Cause: err}
8585
}
8686

87+
for _, setting := range req.GetPortConfiguration().Settings {
88+
m.Configure(setting.SettingId, setting.Value)
89+
}
90+
8791
return &PortProxy{
8892
rw: monIO,
8993
changeSettingsCB: m.Configure,

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /