mirror of https://github.com/g4klx/MMDVM.git
Allow kerchunk audio to pass through.
This commit is contained in:
parent
1aef1a39f2
commit
5ed8eeda6f
2
FM.cpp
2
FM.cpp
|
@ -75,7 +75,7 @@ void CFM::samples(bool cos, q15_t* samples, uint8_t length)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// Only let audio through when relaying audio
|
// Only let audio through when relaying audio
|
||||||
if (m_state != FS_RELAYING) {
|
if (m_state != FS_RELAYING && m_state != FS_KERCHUNK) {
|
||||||
for (uint8_t i = 0U; i < length; i++)
|
for (uint8_t i = 0U; i < length; i++)
|
||||||
samples[i] = 0;
|
samples[i] = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue