From ae6cbcd9e761d0994837be0bfa89f5685e6ff7b3 Mon Sep 17 00:00:00 2001 From: Geoffrey Merck Date: Tue, 21 Apr 2020 22:43:59 +0200 Subject: [PATCH] Minor clean up --- FM.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/FM.cpp b/FM.cpp index 5852061..add211f 100644 --- a/FM.cpp +++ b/FM.cpp @@ -69,8 +69,9 @@ void CFM::samples(bool cos, q15_t* samples, uint8_t length) q15_t currentSample; for(uint8_t i = 0U; i < length; i++) { - // Only let audio through when relaying audio currentSample = samples[i];//save to a local variable to avoid indirection on every access + + // Only let audio through when relaying audio if (m_state != FS_RELAYING && m_state != FS_KERCHUNK) { currentSample = 0U; }