aboutsummaryrefslogtreecommitdiff
path: root/src/ofdm.c
diff options
context:
space:
mode:
authordrowe67 <[email protected]>2024-05-04 07:16:26 +0930
committerDavid Rowe <[email protected]>2024-05-04 07:16:26 +0930
commitb2311e5a967e09e5b293578bb596c83c50af536d (patch)
treedeaf61be8918a4333b51e14848c6afa5d318c26e /src/ofdm.c
parentcfa9cd02e44652cdf625cbed729bd15905045523 (diff)
custom config debugging: dump ofdm config from a FreeDV API function
Diffstat (limited to 'src/ofdm.c')
-rw-r--r--src/ofdm.c5
1 files changed, 5 insertions, 0 deletions
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]);