mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-04-05 14:37:02 +00:00
Add two more FM parameters.
This commit is contained in:
parent
868d33ebd2
commit
6ac6deba10
4 changed files with 33 additions and 15 deletions
10
IO.cpp
10
IO.cpp
|
|
@ -357,10 +357,11 @@ void CIO::process()
|
|||
}
|
||||
|
||||
if (m_fmEnable) {
|
||||
bool cos = getCOSInt();
|
||||
#if defined(USE_DCBLOCKER)
|
||||
fm.samples(dcSamples, RX_BLOCK_SIZE);
|
||||
fm.samples(cos, dcSamples, RX_BLOCK_SIZE);
|
||||
#else
|
||||
fm.samples(samples, RX_BLOCK_SIZE);
|
||||
fm.samples(cos, samples, RX_BLOCK_SIZE);
|
||||
#endif
|
||||
}
|
||||
} else if (m_modemState == STATE_DSTAR) {
|
||||
|
|
@ -422,10 +423,11 @@ void CIO::process()
|
|||
nxdnRX.samples(NXDNVals, rssi, RX_BLOCK_SIZE);
|
||||
}
|
||||
} else if (m_modemState == STATE_FM) {
|
||||
bool cos = getCOSInt();
|
||||
#if defined(USE_DCBLOCKER)
|
||||
fm.samples(dcSamples, RX_BLOCK_SIZE);
|
||||
fm.samples(cos, dcSamples, RX_BLOCK_SIZE);
|
||||
#else
|
||||
fm.samples(samples, RX_BLOCK_SIZE);
|
||||
fm.samples(cos, samples, RX_BLOCK_SIZE);
|
||||
#endif
|
||||
} else if (m_modemState == STATE_DSTARCAL) {
|
||||
q15_t GMSKVals[RX_BLOCK_SIZE];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue