mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-04-05 06:26:42 +00:00
Remove memory leak and other configuration funnies.
This commit is contained in:
parent
394ab8dfd1
commit
4fe1c11250
3 changed files with 8 additions and 11 deletions
8
FM.cpp
8
FM.cpp
|
|
@ -46,11 +46,11 @@ m_rxBoost(1U)
|
|||
|
||||
void CFM::samples(bool cos, q15_t* samples, uint8_t length)
|
||||
{
|
||||
uint8_t i = 0;
|
||||
for (; i < length; i++) {
|
||||
if (!m_useCOS)
|
||||
cos = true;
|
||||
if (!m_useCOS)
|
||||
cos = true;
|
||||
|
||||
uint8_t i = 0U;
|
||||
for (; i < length; i++) {
|
||||
q15_t currentSample = samples[i];//save to a local variable to avoid indirection on every access
|
||||
|
||||
CTCSSState ctcssState = m_ctcssRX.process(currentSample);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue