diff options
| author | drowe67 <[email protected]> | 2024-05-06 06:19:24 +0930 |
|---|---|---|
| committer | David Rowe <[email protected]> | 2024-05-06 06:19:24 +0930 |
| commit | e9f64066a5fb8079cc8d217a4c494930ffda2bf4 (patch) | |
| tree | ec4171cd3f2b16179545e96b00186cff48c772f7 /src/ofdm.c | |
| parent | aebdd11464a6632c9722cf2db2a4494437404674 (diff) | |
| parent | d21ff74c5f830a275d291a00043b2526a1bf9e62 (diff) | |
merge with main and fix conflict (I hope)dr-codec2-doc
Diffstat (limited to 'src/ofdm.c')
| -rw-r--r-- | src/ofdm.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -559,7 +559,8 @@ static void allocate_tx_bpf(struct OFDM *ofdm) { quisk_filt_cfInit(ofdm->tx_bpf, filtP400S600, sizeof(filtP400S600) / sizeof(float)); quisk_cfTune(ofdm->tx_bpf, ofdm->tx_centre / ofdm->fs); - } else if (!strcmp(ofdm->mode, "datac4") || !strcmp(ofdm->mode, "datac13")) { + } else if (!strcmp(ofdm->mode, "datac4") || !strcmp(ofdm->mode, "datac13") || + !strcmp(ofdm->mode, "datac14")) { quisk_filt_cfInit(ofdm->tx_bpf, filtP200S400, sizeof(filtP200S400) / sizeof(float)); // centre the filter on the mean carrier freq, allows a narrower filter to @@ -590,7 +591,8 @@ static void allocate_rx_bpf(struct OFDM *ofdm) { /* Receive bandpass filter; complex coefficients, center frequency */ - if (!strcmp(ofdm->mode, "datac4") || !strcmp(ofdm->mode, "datac13")) { + if (!strcmp(ofdm->mode, "datac4") || !strcmp(ofdm->mode, "datac13") || + !strcmp(ofdm->mode, "datac14")) { quisk_filt_cfInit(ofdm->rx_bpf, filtP200S400, sizeof(filtP200S400) / sizeof(float)); // centre the filter on the mean carrier freq, allows a narrower filter to |
