Skip to content

Commit

Permalink
cmd: correct led subcommand
Browse files Browse the repository at this point in the history
  • Loading branch information
deadprogram committed May 6, 2021
1 parent 42fcf23 commit ba33163
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cmd/kd6ctl/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,12 @@ func main() {
var pulse int
if len(args) < 3 {
pulse = 1
} else {
var err error
pulse, err = strconv.Atoi(args[2])
if err != nil {
return err
}
}

cis := kd6rmx.Sensor{Port: *port}
Expand Down

0 comments on commit ba33163

Please sign in to comment.