1
0
Fork 0

Changed the Cast rather than the const

ycs232-kbc
John Ronan 8 years ago
parent bce9840cb1
commit 3d6c68f2c7

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

Loading…
Cancel
Save