Always send BER and RSSI in Dstar ack
This commit is contained in:
parent
db1eef6b0e
commit
77741318a0
|
@ -1234,7 +1234,7 @@ void CDStarControl::sendError()
|
|||
char text[40U];
|
||||
if (m_ackMessage && m_rssi != 0) {
|
||||
if (status == LS_LINKED_DEXTRA || status == LS_LINKED_DPLUS || status == LS_LINKED_DCS || status == LS_LINKED_CCS || status == LS_LINKED_LOOPBACK)
|
||||
::sprintf(text, "%-8.8s -%udBm ", reflector, m_aveRSSI / m_rssiCount);
|
||||
::sprintf(text, "%-8.8s BER:%.1f%% -%udBm ", reflector, float(m_rfErrs * 100U) / float(m_rfBits), m_aveRSSI / m_rssiCount);
|
||||
else
|
||||
::sprintf(text, "BER:%.1f%% -%udBm ", float(m_rfErrs * 100U) / float(m_rfBits), m_aveRSSI / m_rssiCount);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue