From 5817a9fee909e79f6036203207b885c76c8f8ac6 Mon Sep 17 00:00:00 2001
From: c vw <dl1ycf@darc.de>
Date: Wed, 6 Apr 2022 18:32:17 +0200
Subject: [PATCH] Changed parameter list of SetAnalyzer to new API from WDSP
 1.20

---
 receiver.c    | 4 ++--
 transmitter.c | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/receiver.c b/receiver.c
index 26b703b..d0df659 100644
--- a/receiver.c
+++ b/receiver.c
@@ -806,8 +806,8 @@ static void init_analyzer(RECEIVER *rx) {
     double kaiser_pi = 14.0;
     int overlap = 2048;
     int clip = 0;
-    int span_clip_l = 0;
-    int span_clip_h = 0;
+    double span_clip_l = 0;
+    double span_clip_h = 0;
     int pixels=rx->pixels;
     int stitches = 1;
     int calibration_data_set = 0;
diff --git a/transmitter.c b/transmitter.c
index d148fff..b1f09d6 100644
--- a/transmitter.c
+++ b/transmitter.c
@@ -723,8 +723,8 @@ static void init_analyzer(TRANSMITTER *tx) {
     double kaiser_pi = 14.0;
     int overlap = 2048;
     int clip = 0;
-    int span_clip_l = 0;
-    int span_clip_h = 0;
+    double span_clip_l = 0;
+    double span_clip_h = 0;
     int pixels=tx->pixels;
     int stitches = 1;
     int calibration_data_set = 0;
-- 
2.45.2