From 266e3982241bee215f9d4e7e91229aadaeb460a5 Mon Sep 17 00:00:00 2001 From: GullCode Date: Wed, 27 Jan 2021 15:16:43 +0100 Subject: [PATCH] Fix __SIMD32 warning --- firmware/baseband/channel_stats_collector.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/baseband/channel_stats_collector.hpp b/firmware/baseband/channel_stats_collector.hpp index ca7d0eed..f1e9061a 100644 --- a/firmware/baseband/channel_stats_collector.hpp +++ b/firmware/baseband/channel_stats_collector.hpp @@ -35,7 +35,7 @@ class ChannelStatsCollector { public: template void feed(const buffer_c16_t& src, Callback callback) { - auto src_p = src.p; + void *src_p = src.p; while(src_p < &src.p[src.count]) { const uint32_t sample = *__SIMD32(src_p)++; const uint32_t mag_sq = __SMUAD(sample, sample);