Skip to content

Commit

Permalink
correct param name
Browse files Browse the repository at this point in the history
  • Loading branch information
jpoirier committed Nov 22, 2015
1 parent da5359c commit 1e61e00
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,7 +34,7 @@ static inline rtlsdr_read_async_cb_t get_go_cb() {
import "C"

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

// ReadAsyncCbT defines a user callback function type.
type ReadAsyncCbT func([]byte)
Expand Down Expand Up @@ -319,7 +319,7 @@ func (dev *Context) GetCenterFreq() (freqHz int) {
}

// SetFreqCorrection sets the frequency correction.
func (dev *Context) SetFreqCorrection(freqHz int) (err error) {
func (dev *Context) SetFreqCorrection(ppm int) (err error) {
i := int(C.rtlsdr_set_freq_correction((*C.rtlsdr_dev_t)(dev),
C.int(freqHz)))
// error code -2 means the requested PPM is the same as
Expand Down

0 comments on commit 1e61e00

Please sign in to comment.