mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-08-21 14:36:21 +02:00
Small simplification of the timeout tones.
This commit is contained in:
+1
-3
@@ -41,7 +41,7 @@ void CFMTimeout::setParams(uint8_t level)
|
||||
|
||||
q15_t CFMTimeout::getAudio()
|
||||
{
|
||||
q15_t sample = 0U;
|
||||
q15_t sample = 0;
|
||||
if (!m_running)
|
||||
return sample;
|
||||
|
||||
@@ -52,8 +52,6 @@ q15_t CFMTimeout::getAudio()
|
||||
m_n++;
|
||||
if (m_n >= BUSY_AUDIO_LEN)
|
||||
m_n = 0U;
|
||||
} else {
|
||||
sample = 0U;
|
||||
}
|
||||
|
||||
m_pos++;
|
||||
|
||||
Reference in New Issue
Block a user