mirror of https://github.com/g4klx/MMDVM.git
Merge branch 'master' into AX25
This commit is contained in:
commit
4ff057069b
|
@ -41,7 +41,7 @@ void CFMTimeout::setParams(uint8_t level)
|
||||||
|
|
||||||
q15_t CFMTimeout::getAudio()
|
q15_t CFMTimeout::getAudio()
|
||||||
{
|
{
|
||||||
q15_t sample = 0U;
|
q15_t sample = 0;
|
||||||
if (!m_running)
|
if (!m_running)
|
||||||
return sample;
|
return sample;
|
||||||
|
|
||||||
|
@ -52,8 +52,6 @@ q15_t CFMTimeout::getAudio()
|
||||||
m_n++;
|
m_n++;
|
||||||
if (m_n >= BUSY_AUDIO_LEN)
|
if (m_n >= BUSY_AUDIO_LEN)
|
||||||
m_n = 0U;
|
m_n = 0U;
|
||||||
} else {
|
|
||||||
sample = 0U;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
m_pos++;
|
m_pos++;
|
||||||
|
|
Loading…
Reference in New Issue