Skip to content

Commit

Permalink
Fixed bossac init... ooops
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaglie committed Apr 19, 2021
1 parent 9e649fa commit ecb8165
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/nina/main.go
Expand Up @@ -42,7 +42,7 @@ func Run(ctx *context.Context) {

if ctx.ProgrammerPath != "" {
if strings.Contains(filepath.Base(ctx.ProgrammerPath), "bossac") {
programmer = &bossac.Bossac{}
programmer = bossac.NewBossac(ctx)
} else if strings.Contains(filepath.Base(ctx.ProgrammerPath), "avrdude") {
programmer = avrdude.NewAvrdude(ctx)
} else if strings.Contains(filepath.Base(ctx.ProgrammerPath), "rp2040load") {
Expand Down

0 comments on commit ecb8165

Please sign in to comment.