mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-15 00:13:43 +00:00
main: remove ocd-daemon property
This fixes a crash crash with the -ocd-output flag.
This commit is contained in:
committed by
Ron Evans
parent
66ed03faa2
commit
96d4987345
@@ -543,7 +543,7 @@ func FlashGDB(pkgName, target, port string, ocdOutput bool, config *BuildConfig)
|
||||
// Make it clear which output is from the daemon.
|
||||
w := &ColorWriter{
|
||||
Out: os.Stderr,
|
||||
Prefix: spec.OCDDaemon[0] + ": ",
|
||||
Prefix: "openocd: ",
|
||||
Color: TermColorYellow,
|
||||
}
|
||||
daemon.Stdout = w
|
||||
|
||||
Reference in New Issue
Block a user