Skip to content

Commit

Permalink
Type error.
Browse files Browse the repository at this point in the history
  • Loading branch information
cyoung committed Sep 16, 2015
1 parent 5900408 commit 5a568e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/sdr.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func sdrReader() {
//---------- Get/Set Freq Correction ----------
freqCorr := dev.GetFreqCorrection()
log.Printf("\tGetFreqCorrection: %d\n", freqCorr)
err = dev.SetFreqCorrection(globalSettings.PPM)
err = dev.SetFreqCorrection(int(globalSettings.PPM))
if err != nil {
log.Printf("\tSetFreqCorrection %d Failed, error: %s\n", globalSettings.PPM, err)
} else {
Expand Down

0 comments on commit 5a568e2

Please sign in to comment.