diff --git a/main/sdr.go b/main/sdr.go index 34a81c1e0..323216421 100644 --- a/main/sdr.go +++ b/main/sdr.go @@ -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 {