Skip to content

Commit

Permalink
Also send BER with RSSI in Ack
Browse files Browse the repository at this point in the history
  • Loading branch information
F4FXL committed May 4, 2021
1 parent 7774131 commit 39620c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DStarControl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1184,7 +1184,7 @@ void CDStarControl::sendAck()
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);
}
Expand Down

0 comments on commit 39620c2

Please sign in to comment.