mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-08-21 14:36:21 +02:00
CTCSS tones are added to the audio, not replacing it.
This commit is contained in:
+1
-1
@@ -118,7 +118,7 @@ uint8_t CFMCTCSSTX::setParams(uint8_t frequency, uint8_t level)
|
||||
void CFMCTCSSTX::getAudio(q15_t* samples, uint8_t length)
|
||||
{
|
||||
for (uint8_t i = 0U; i < length; i++) {
|
||||
samples[i] = m_values[m_n];
|
||||
samples[i] += m_values[m_n];
|
||||
|
||||
m_n++;
|
||||
if (m_n >= m_length)
|
||||
|
||||
Reference in New Issue
Block a user