Display the M17 FN numbers correctly.

This commit is contained in:
Jonathan Naylor 2021-07-29 21:32:07 +01:00
parent bf3dbdb55d
commit dd09c666bb

View file

@ -279,7 +279,7 @@ bool CM17Control::writeModem(unsigned char* data, unsigned int len)
m_rfFN = (frame[0U] << 8) + (frame[1U] << 0);
}
LogDebug("M17, audio: FN: %u, errs: %u/272 (%.1f%%)", m_rfFN & 0x7FU, errors, float(errors) / 2.72F);
LogDebug("M17, audio: FN: %u, errs: %u/272 (%.1f%%)", m_rfFN & 0x7FFFU, errors, float(errors) / 2.72F);
m_rfBits += 272U;
m_rfErrs += errors;