From 5a568e27cea8b7ff73585f5574cdbc5e63d2a013 Mon Sep 17 00:00:00 2001 From: Christopher Young Date: Wed, 16 Sep 2015 16:17:41 -0400 Subject: [PATCH] Type error. --- main/sdr.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {