From: John Melton G0ORX Date: Sat, 29 Feb 2020 14:13:48 +0000 (+0000) Subject: default rx_gain_calibration to 14 for Hermes Lite(2) X-Git-Url: https://git.rkrishnan.org/Site/%5B/%5D%20/uri/...?a=commitdiff_plain;h=47eaaec8d4c0532d9f51cd4c1190c1eed66d1831;p=pihpsdr.git default rx_gain_calibration to 14 for Hermes Lite(2) --- diff --git a/radio.c b/radio.c index 59282f8..ba0f259 100644 --- a/radio.c +++ b/radio.c @@ -239,7 +239,7 @@ int tune=0; int memory_tune=0; int full_tune=0; int have_rx_gain=0; -int rx_gain_calibration=25; +int rx_gain_calibration=14; //long long displayFrequency=14250000; //long long ddsFrequency=14250000; @@ -522,7 +522,7 @@ void start_radio() { case DEVICE_HERMES_LITE: case DEVICE_HERMES_LITE2: have_rx_gain=1; - rx_gain_calibration=25; + rx_gain_calibration=14; break; default: have_rx_gain=0; @@ -535,7 +535,7 @@ void start_radio() { case NEW_DEVICE_HERMES_LITE: case NEW_DEVICE_HERMES_LITE2: have_rx_gain=1; - rx_gain_calibration=25; + rx_gain_calibration=14; break; default: have_rx_gain=0; @@ -813,8 +813,8 @@ void start_radio() { adc_attenuation[1]=0; if(have_rx_gain) { - adc_attenuation[0]=25; - adc_attenuation[1]=25; + adc_attenuation[0]=14; + adc_attenuation[1]=14; } adc[0].antenna=ANTENNA_1;