We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 411427f commit 34848e2Copy full SHA for 34848e2
modules/nina/main.go
@@ -43,9 +43,10 @@ func Run(ctx context.Context) {
43
44
if strings.Contains(filepath.Base(ctx.ProgrammerPath), "bossac") {
45
programmer = &bossac.Bossac{}
46
- }
47
- if strings.Contains(filepath.Base(ctx.ProgrammerPath), "avrdude") {
+ } else if strings.Contains(filepath.Base(ctx.ProgrammerPath), "avrdude") {
48
programmer = &avrdude.Avrdude{}
+ } else {
49
+ log.Fatal("Programmer path not specified correctly, programmer path set to: " + ctx.ProgrammerPath)
50
}
51
52
if ctx.FWUploaderBinary != "" {
0 commit comments