From ca9611654da5b90a02d4d5945d53572c4014d02d Mon Sep 17 00:00:00 2001 From: Xavier Arteaga Date: Mon, 23 Mar 2020 00:22:03 +0100 Subject: [PATCH] Minor correction in AWGN channel test --- lib/src/phy/channel/test/awgn_channel_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/phy/channel/test/awgn_channel_test.c b/lib/src/phy/channel/test/awgn_channel_test.c index 3cfde7af6..5e9d0fdc8 100644 --- a/lib/src/phy/channel/test/awgn_channel_test.c +++ b/lib/src/phy/channel/test/awgn_channel_test.c @@ -153,7 +153,7 @@ int main(int argc, char** argv) min = SRSLTE_MIN(min, mag); max = SRSLTE_MAX(max, mag); - fft_mag[i] = srslte_convert_amplitude_to_dB(mag); + fft_mag[i] = mag; } plot_real_setYAxisScale(&plot_fft, min, max);