mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-10-16 16:54:12 +02:00
Move the RSSI sampling point.
This commit is contained in:
+2
-2
@@ -124,8 +124,8 @@ bool CDMRSlotRX::processSample(q15_t sample)
|
|||||||
correlateSync(true);
|
correlateSync(true);
|
||||||
} else {
|
} else {
|
||||||
#if defined(SEND_RSSI_DATA)
|
#if defined(SEND_RSSI_DATA)
|
||||||
// Grab the RSSI data near the centre of the frame
|
// Grab the RSSI data during the frame
|
||||||
if (m_state == DMRRXS_VOICE && m_dataPtr == m_syncPtr && m_rssiCount == 2U)
|
if (m_state == DMRRXS_VOICE && m_dataPtr == m_startPtr && m_rssiCount == 2U)
|
||||||
m_rssi = io.getRSSIValue();
|
m_rssi = io.getRSSIValue();
|
||||||
#endif
|
#endif
|
||||||
uint16_t min = m_syncPtr - 1U;
|
uint16_t min = m_syncPtr - 1U;
|
||||||
|
|||||||
Reference in New Issue
Block a user