commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 04/14: dtv: Fix usage of volk_32f_index_max


From: git
Subject: [Commit-gnuradio] [gnuradio] 04/14: dtv: Fix usage of volk_32f_index_max*, first argument, to be uint16_t* as required by the Volk API.
Date: Mon, 30 May 2016 21:23:22 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

jcorgan pushed a commit to branch master
in repository gnuradio.

commit 84457939b6cb113c54ce8e79fe14cf22f2f167e5
Author: Michael Dickens <address@hidden>
Date:   Sat May 28 08:57:27 2016 -0400

    dtv: Fix usage of volk_32f_index_max*, first argument, to be uint16_t* as 
required by the Volk API.
---
 gr-dtv/lib/dvbt/dvbt_ofdm_sym_acquisition_impl.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gr-dtv/lib/dvbt/dvbt_ofdm_sym_acquisition_impl.cc 
b/gr-dtv/lib/dvbt/dvbt_ofdm_sym_acquisition_impl.cc
index abef1d0..b6eacad 100644
--- a/gr-dtv/lib/dvbt/dvbt_ofdm_sym_acquisition_impl.cc
+++ b/gr-dtv/lib/dvbt/dvbt_ofdm_sym_acquisition_impl.cc
@@ -47,7 +47,7 @@ namespace gr {
     int
     dvbt_ofdm_sym_acquisition_impl::peak_detect_process(const float * datain, 
const int datain_length, int * peak_pos, int * peak_max)
     {
-      unsigned int peak_index = 0;
+      uint16_t peak_index = 0;
       int peak_pos_length = 0;
 
       volk_32f_index_max_16u(&peak_index, &datain[0], datain_length); 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]