From: DL1YCF Date: Tue, 18 May 2021 13:47:22 +0000 (+0200) Subject: Avoid having PS_FEEDBACK_RECEIVER the same channel as a normal receiver. X-Git-Url: https://git.rkrishnan.org/listings/vdrive/index.php?a=commitdiff_plain;h=f3aeb962ac850b2ff4ead29fb729e5834df000a2;p=pihpsdr.git Avoid having PS_FEEDBACK_RECEIVER the same channel as a normal receiver. --- 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;