|
|
@ -150,8 +150,8 @@ void CAPRSWriter::sendIdFrames()
|
|
|
|
char desc[100U];
|
|
|
|
char desc[100U];
|
|
|
|
if (m_txFrequency != 0U) {
|
|
|
|
if (m_txFrequency != 0U) {
|
|
|
|
float offset = float(int(m_rxFrequency) - int(m_txFrequency)) / 1000000.0F;
|
|
|
|
float offset = float(int(m_rxFrequency) - int(m_txFrequency)) / 1000000.0F;
|
|
|
|
::sprintf(desc, "MMDVM Voice %.5lfMHz %c%.4lfMHz",
|
|
|
|
::sprintf(desc, "MMDVM Voice %.5LfMHz %c%.4lfMHz",
|
|
|
|
float(m_txFrequency) / 1000000.0F,
|
|
|
|
float(m_txFrequency) / 1000000.0L,
|
|
|
|
offset < 0.0F ? '-' : '+',
|
|
|
|
offset < 0.0F ? '-' : '+',
|
|
|
|
::fabs(offset));
|
|
|
|
::fabs(offset));
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|