Skip to content

fix the listing of the boards #668

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 24, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix CI and make go-staticcheck happy
  • Loading branch information
umbynos committed Oct 14, 2021
commit f48feefebd31a936421160ddedca8e89f4288a11
3 changes: 1 addition & 2 deletions serial.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import (
"time"

"github.com/arduino/arduino-create-agent/upload"
log "github.com/sirupsen/logrus"
)

type writeRequest struct {
Expand Down Expand Up @@ -195,7 +194,7 @@ func spListDual(network bool) {
// to append the open/close state, baud rates, etc to make
// a super clean nice list to send back to browser
n := len(list)
spl := make([]SpPortItem, n, n)
spl := make([]SpPortItem, n)

ctr := 0

Expand Down