From 0b7268a5845190e880cdf9583cd8455e36985664 Mon Sep 17 00:00:00 2001
From: DL1YCF <dl1ycf@darc.de>
Date: Sat, 28 Dec 2019 15:56:01 +0100
Subject: [PATCH] include HL calibration also in P2 although it is currently
 not yet used there

---
 radio.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/radio.c b/radio.c
index f73b43e..a780f9f 100644
--- a/radio.c
+++ b/radio.c
@@ -435,7 +435,7 @@ void start_radio() {
 	    case DEVICE_HERMES_LITE:
 	    case DEVICE_HERMES_LITE2:
 		have_rx_gain=1;
-		rx_gain_calibration=25;
+		rx_gain_alibration=25;
 		break;
 	    default:
 		have_rx_gain=0;
@@ -448,9 +448,11 @@ void start_radio() {
 	    case NEW_DEVICE_HERMES_LITE:
 	    case NEW_DEVICE_HERMES_LITE2:
 		have_rx_gain=1;
+		rx_gain_alibration=25;
 		break;
 	    default:
 		have_rx_gain=0;
+		rx_gain_calibration=0;
 		break;
 	}
 	break;
-- 
2.45.2