diff options
| author | drowe67 <[email protected]> | 2024-03-29 07:18:31 +1030 |
|---|---|---|
| committer | David Rowe <[email protected]> | 2024-03-29 07:18:31 +1030 |
| commit | 2ee2989c9cc54dd30b94b1a2cfda0db5975d3cc8 (patch) | |
| tree | 3e4c4c575c8656fb1b4101f2cccd06d6c8c24d7b /src/ofdm.c | |
| parent | 3c761467659fb6d4776fc59075d7d32e99b9b156 (diff) | |
ofdm_mod/ofdm_demod working with datac14
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 |
