Skip to content

Commit ecb8165

Browse files
committed
Fixed bossac init... ooops
1 parent 9e649fa commit ecb8165

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: modules/nina/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ func Run(ctx *context.Context) {
4242

4343
if ctx.ProgrammerPath != "" {
4444
if strings.Contains(filepath.Base(ctx.ProgrammerPath), "bossac") {
45-
programmer = &bossac.Bossac{}
45+
programmer = bossac.NewBossac(ctx)
4646
} else if strings.Contains(filepath.Base(ctx.ProgrammerPath), "avrdude") {
4747
programmer = avrdude.NewAvrdude(ctx)
4848
} else if strings.Contains(filepath.Base(ctx.ProgrammerPath), "rp2040load") {

0 commit comments

Comments
 (0)