We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aba64eb commit 57e9bd9Copy full SHA for 57e9bd9
upload/upload.go
@@ -30,9 +30,6 @@ import (
30
"go.bug.st/serial/enumerator"
31
)
32
33
-// Busy tells wether the programmer is doing something
34
-var Busy = false
35
-
36
// Extra contains some options used during the upload
37
type Extra struct {
38
Use1200bpsTouch bool `json:"use_1200bps_touch"`
@@ -82,9 +79,6 @@ func fixupPort(port, commandline string) string {
82
79
83
80
// Serial performs a serial upload
84
81
func Serial(port, commandline string, extra Extra, l Logger) error {
85
- Busy = true
86
- defer func() { Busy = false }()
87
88
// some boards needs to be resetted
89
if extra.Use1200bpsTouch {
90
var err error
0 commit comments