From 81b0746c2937c69309093bf35eed1df05b75d5bd Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Mon, 20 Jan 2025 09:48:43 -0500 Subject: [PATCH] Update main.c print smaller --- main.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index f6213a6c..96f7df2d 100644 --- a/main.c +++ b/main.c @@ -2333,8 +2333,11 @@ void get_tlm_fc() { if ((i % samples) == 0) { phase *= -1; if ((ctr - smaller) > 0) { - for (int j = 1; j <= smaller; j++) - buffer[ctr - j] = buffer[ctr - j] * 0.4; + int j; + for (j = 1; j <= smaller; j++) { + buffer[ctr - j] = buffer[ctr - j] * 0.4; + if (ctr < 1000) printf("# %d %d\n", ctr - j, buffer[ctr - j]); + } } flip_ctr = ctr; }