From b2311e5a967e09e5b293578bb596c83c50af536d Mon Sep 17 00:00:00 2001 From: drowe67 Date: Sat, 4 May 2024 07:16:26 +0930 Subject: custom config debugging: dump ofdm config from a FreeDV API function --- src/ofdm.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/ofdm.c') diff --git a/src/ofdm.c b/src/ofdm.c index 8d7a6df..953179f 100644 --- a/src/ofdm.c +++ b/src/ofdm.c @@ -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]); -- cgit v1.2.3