diff --git a/firmware/baseband/proc_tpms.cpp b/firmware/baseband/proc_tpms.cpp index 3052e4a5..7c6c83d6 100644 --- a/firmware/baseband/proc_tpms.cpp +++ b/firmware/baseband/proc_tpms.cpp @@ -32,8 +32,7 @@ void TPMSProcessor::execute(const buffer_c8_t& buffer) { /* 2.4576MHz, 2048 samples */ const auto decim_0_out = decim_0.execute(buffer, dst_buffer); - const auto decim_1_out = decim_1.execute(decim_0_out, dst_buffer); - const auto decimator_out = decim_1_out; + const auto decimator_out = decim_1.execute(decim_0_out, dst_buffer); /* 307.2kHz, 256 samples */ feed_channel_stats(decimator_out); @@ -44,8 +43,8 @@ void TPMSProcessor::execute(const buffer_c8_t& buffer) { } } - for(size_t i=0; i