From 4205793b5409ba5dde805bf459e581d169694b5a Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Thu, 3 Dec 2015 20:58:17 -0800 Subject: [PATCH] Clean up narrowing conversion warning. --- firmware/baseband/proc_ert.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/baseband/proc_ert.hpp b/firmware/baseband/proc_ert.hpp index bc5fcc93..fa38d286 100644 --- a/firmware/baseband/proc_ert.hpp +++ b/firmware/baseband/proc_ert.hpp @@ -57,11 +57,11 @@ public: private: const uint32_t baseband_sampling_rate = 4194304; const size_t decimation = 1; - const uint32_t symbol_rate = 32768; + const float symbol_rate = 32768; const uint32_t channel_sampling_rate = baseband_sampling_rate / decimation; const size_t samples_per_symbol = channel_sampling_rate / symbol_rate; - const uint32_t clock_recovery_rate = symbol_rate * 2; + const float clock_recovery_rate = symbol_rate * 2; // ChannelDecimator decimator { ChannelDecimator::DecimationFactor::By2, false };