Skip to content

Commit

Permalink
minor example updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jpoirier committed Nov 22, 2015
1 parent 961c725 commit 4ea6fdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example_old.go
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ func main() {
// a goroutine that waits for the async-read callback to signal it's done.
go asyncStop(dev, IQch)

err = dev.ReadAsync(rtlsdrCb, rtl.DefaultAsyncBufNumber, rtl.DefaultBufLength)
err = dev.ReadAsync(rtlsdrCb, nil, rtl.DefaultAsyncBufNumber, rtl.DefaultBufLength)
if err == nil {
log.Printf("\tReadAsync Successful\n")
} else {
Expand Down

0 comments on commit 4ea6fdc

Please sign in to comment.