Skip to content

Commit

Permalink
fix tests and compilation with TAGS=libhamlib
Browse files Browse the repository at this point in the history
  • Loading branch information
as3ii authored and martinhpedersen committed Oct 7, 2023
1 parent 8da9a16 commit b62dbc7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion riglist.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
package main

import (
"context"
"fmt"
"strings"

Expand All @@ -25,7 +26,10 @@ func init() {
commands = append(commands[:8], append([]Command{cmd}, commands[8:]...)...)
}

func riglistHandle(args []string) {
func riglistHandle(ctx context.Context, args []string) {
if args[0] == "" {
fmt.Println("Missing argument")
}
term := strings.ToLower(args[0])

fmt.Print("id\ttransceiver\n")
Expand Down

0 comments on commit b62dbc7

Please sign in to comment.