mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-05-24 11:12:27 -04:00
DSD demod: D-Star: display bearing and distance from my position if geolocation is available
This commit is contained in:
parent
894394909b
commit
9dca6096f9
@ -523,6 +523,9 @@ void DSDDemodGUI::formatStatusText()
|
|||||||
}
|
}
|
||||||
memcpy(&m_formatStatusText[41], m_dsdDemod->getDecoder().getDStarDecoder().getInfoText(), 20);
|
memcpy(&m_formatStatusText[41], m_dsdDemod->getDecoder().getDStarDecoder().getInfoText(), 20);
|
||||||
memcpy(&m_formatStatusText[62], m_dsdDemod->getDecoder().getDStarDecoder().getLocator(), 6);
|
memcpy(&m_formatStatusText[62], m_dsdDemod->getDecoder().getDStarDecoder().getLocator(), 6);
|
||||||
|
sprintf(&m_formatStatusText[69], "%03d/%07.1f",
|
||||||
|
m_dsdDemod->getDecoder().getDStarDecoder().getBearing(),
|
||||||
|
m_dsdDemod->getDecoder().getDStarDecoder().getDistance());
|
||||||
}
|
}
|
||||||
|
|
||||||
m_formatStatusText[82] = '\0';
|
m_formatStatusText[82] = '\0';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user