mirror of https://github.com/g4klx/MMDVM.git
Move the RSSI sampling point.
This commit is contained in:
parent
0bfecf72a9
commit
7c34cdb6f8
|
@ -124,8 +124,8 @@ bool CDMRSlotRX::processSample(q15_t sample)
|
|||
correlateSync(true);
|
||||
} else {
|
||||
#if defined(SEND_RSSI_DATA)
|
||||
// Grab the RSSI data near the centre of the frame
|
||||
if (m_state == DMRRXS_VOICE && m_dataPtr == m_syncPtr && m_rssiCount == 2U)
|
||||
// Grab the RSSI data during the frame
|
||||
if (m_state == DMRRXS_VOICE && m_dataPtr == m_startPtr && m_rssiCount == 2U)
|
||||
m_rssi = io.getRSSIValue();
|
||||
#endif
|
||||
uint16_t min = m_syncPtr - 1U;
|
||||
|
|
Loading…
Reference in New Issue