Skip to content

Commit

Permalink
fix the async callback so it's backward compat
Browse files Browse the repository at this point in the history
  • Loading branch information
jpoirier committed Nov 22, 2015
1 parent 4ea6fdc commit 40c8fbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rtlsdr.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ static inline rtlsdr_read_async_cb_t get_go_cb() {
import "C"

// Current version.
var PackageVersion = "v2.9.6"
var PackageVersion = "v2.9.7"

// ReadAsyncCbT defines a user callback function type.
type ReadAsyncCbT func([]byte)
type ReadAsyncCbT func([]byte, _ *UserCtx)

var clientCb ReadAsyncCbT

Expand Down

0 comments on commit 40c8fbb

Please sign in to comment.