mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-04-05 06:26:42 +00:00
Re-add COS.
This commit is contained in:
parent
ebdba2bdb9
commit
85816d5bec
3 changed files with 8 additions and 6 deletions
6
IO.cpp
6
IO.cpp
|
|
@ -370,7 +370,8 @@ void CIO::process()
|
|||
FMVals[i] = q15_t(__SSAT((res1 >> 15), 16));
|
||||
}
|
||||
#endif
|
||||
fm.samples(FMVals, RX_BLOCK_SIZE);
|
||||
bool cos = getCOSInt();
|
||||
fm.samples(cos, FMVals, RX_BLOCK_SIZE);
|
||||
}
|
||||
} else if (m_modemState == STATE_DSTAR) {
|
||||
if (m_dstarEnable) {
|
||||
|
|
@ -443,7 +444,8 @@ void CIO::process()
|
|||
FMVals[i] = q15_t(__SSAT((res1 >> 15), 16));
|
||||
}
|
||||
#endif
|
||||
fm.samples(FMVals, RX_BLOCK_SIZE);
|
||||
bool cos = getCOSInt();
|
||||
fm.samples(cos, FMVals, RX_BLOCK_SIZE);
|
||||
} else if (m_modemState == STATE_DSTARCAL) {
|
||||
q15_t GMSKVals[RX_BLOCK_SIZE];
|
||||
::arm_fir_fast_q15(&m_gaussianFilter, samples, GMSKVals, RX_BLOCK_SIZE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue