From 47eaaec8d4c0532d9f51cd4c1190c1eed66d1831 Mon Sep 17 00:00:00 2001
From: John Melton G0ORX <john.d.melton@googlemail.com>
Date: Sat, 29 Feb 2020 14:13:48 +0000
Subject: [PATCH] default rx_gain_calibration to 14 for Hermes Lite(2)

---
 radio.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

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;
-- 
2.45.2