[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 01/01: digital: fix index type for cort pr_
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 01/01: digital: fix index type for cort pr_est's volk call |
Date: |
Thu, 16 Jun 2016 04:37:27 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
nwest pushed a commit to branch packet3
in repository gnuradio.
commit 07f2ba897179701998e4b745be10e781c0b818e7
Author: Nathan West <address@hidden>
Date: Wed Jun 15 13:56:57 2016 -0400
digital: fix index type for cort pr_est's volk call
---
gr-digital/lib/corr_est_cc_impl.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gr-digital/lib/corr_est_cc_impl.cc
b/gr-digital/lib/corr_est_cc_impl.cc
index dfcd966..5157f8f 100644
--- a/gr-digital/lib/corr_est_cc_impl.cc
+++ b/gr-digital/lib/corr_est_cc_impl.cc
@@ -292,7 +292,7 @@ namespace gr {
// Estimated scaling factor for the input stream to normalize
// the output to +/-1.
uint32_t maxi;
- volk_32fc_index_max_16u(&maxi, (gr_complex*)in, noutput_items);
+ volk_32fc_index_max_32u_manual(&maxi, (gr_complex*)in, noutput_items,
"generic");
d_scale = 1 / std::abs(in[maxi]);
// Calculate the phase offset of the incoming signal.