From b7fa7e74c46d2ac9307d7f196c758d3844ab4553 Mon Sep 17 00:00:00 2001 From: pa3gsb Date: Fri, 25 May 2018 17:56:40 +0200 Subject: [PATCH] old-protocol; #receivers set correctly --- old_protocol.c | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/old_protocol.c b/old_protocol.c index c8da877..b809351 100644 --- a/old_protocol.c +++ b/old_protocol.c @@ -544,8 +544,13 @@ static void process_ozy_input_buffer(char *buffer) { #ifdef PURESIGNAL nreceivers=(RECEIVERS*2)+1; #else - nreceivers=RECEIVERS; + #ifdef RADIOBERRY + nreceivers = receivers; + #else + nreceivers=RECEIVERS; + #endif #endif + int iq_samples=(512-8)/((nreceivers*6)+2); for(i=0;i