diff options
| author | drowe67 <[email protected]> | 2024-05-04 07:16:26 +0930 |
|---|---|---|
| committer | David Rowe <[email protected]> | 2024-05-04 07:16:26 +0930 |
| commit | b2311e5a967e09e5b293578bb596c83c50af536d (patch) | |
| tree | deaf61be8918a4333b51e14848c6afa5d318c26e /src/ofdm.c | |
| parent | cfa9cd02e44652cdf625cbed729bd15905045523 (diff) | |
custom config debugging: dump ofdm config from a FreeDV API function
Diffstat (limited to 'src/ofdm.c')
| -rw-r--r-- | src/ofdm.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -2669,6 +2669,11 @@ void ofdm_print_info(struct OFDM *ofdm) { ofdm->phase_est_en ? "true" : "false"); fprintf(stderr, "ofdm->tx_bpf_en = %s\n", ofdm->tx_bpf_en ? "true" : "false"); fprintf(stderr, "ofdm->rx_bpf_en = %s\n", ofdm->rx_bpf_en ? "true" : "false"); + fprintf(stderr, "ofdm->tx_bpf_proto_n = %d\n", ofdm->tx_bpf_proto_n); + fprintf(stderr, "ofdm->tx_bpf_proto:\n"); + for (int i = 0; i < ofdm->tx_bpf_proto_n; i++) + fprintf(stderr, "%f\t", ofdm->tx_bpf_proto[i]); + fprintf(stderr, "\n"); fprintf(stderr, "ofdm->dpsk_en = %s\n", ofdm->dpsk_en ? "true" : "false"); fprintf(stderr, "ofdm->phase_est_bandwidth_mode = %s\n", phase_est_bandwidth_mode[ofdm->phase_est_bandwidth_mode]); |
