From f3aeb962ac850b2ff4ead29fb729e5834df000a2 Mon Sep 17 00:00:00 2001 From: DL1YCF Date: Tue, 18 May 2021 15:47:22 +0200 Subject: [PATCH] Avoid having PS_FEEDBACK_RECEIVER the same channel as a normal receiver. --- radio.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/radio.c b/radio.c index 0479746..bfd409d 100644 --- a/radio.c +++ b/radio.c @@ -1229,8 +1229,14 @@ void start_radio() { RECEIVERS=1; MAX_RECEIVERS=RECEIVERS; #ifdef PURESIGNAL - PS_TX_FEEDBACK=0; - PS_RX_FEEDBACK=0; + // + // we cannot use the same receiver for normal RX and PS feedback + // so we must have two additional receivers, should we compile + // SOAPY with PURESIGNAL + // + MAX_RECEIVERS=(RECEIVERS+2); + PS_TX_FEEDBACK=RECEIVERS; + PS_RX_FEEDBACK=RECEIVERS+1; #endif MAX_DDC=1; break; -- 2.45.2