From 4910bacfa2aedc8a6e88fa10577b138a5650f93d Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Mon, 28 Dec 2015 15:50:19 -0800 Subject: [PATCH] Un-comment angle_precise(). Not used, but no reason to comment out. --- firmware/baseband/dsp_demodulate.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/baseband/dsp_demodulate.cpp b/firmware/baseband/dsp_demodulate.cpp index 4ee6ed68..bc11e990 100644 --- a/firmware/baseband/dsp_demodulate.cpp +++ b/firmware/baseband/dsp_demodulate.cpp @@ -72,11 +72,11 @@ static inline float angle_approx_0deg27(const complex32_t t) { const auto x = static_cast(t.imag()) / static_cast(t.real()); return x / (1.0f + 0.28086f * x * x); } -/* + static inline float angle_precise(const complex32_t t) { return atan2f(t.imag(), t.real()); } -*/ + buffer_s16_t FM::execute( buffer_c16_t src, buffer_s16_t dst