mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-05 04:01:52 +02:00
usrp/fft.c (do_fft): don't output the sample number when dumping
gnuplot already maintains the sample count in $0
This commit is contained in:
parent
c98b91656a
commit
b90e3e2dfd
@ -175,7 +175,7 @@ static void do_fft(int skip, int dump, int low, int high, double threshold,
|
||||
|
||||
if (dump) {
|
||||
for (i = 0; i != n/split; i++)
|
||||
printf("%d %g\n", i,
|
||||
printf("%g\n",
|
||||
10*log(res[(i+(n/split)/2) % (n/split)])/log(10));
|
||||
} else {
|
||||
/* @@@ need to think about supporting averaged FFT here later */
|
||||
|
Loading…
Reference in New Issue
Block a user