Swap RPT values for incoming D-Star RF headers.

This commit is contained in:
Jonathan Naylor 2016-02-17 10:01:54 +00:00
parent d26be71b26
commit ce00d75a52

View file

@ -161,8 +161,8 @@ bool CDStarControl::writeModem(unsigned char *data)
if (m_net) {
// Modify the header
header.setRepeater(false);
header.setRPTCall1(m_callsign);
header.setRPTCall2(m_gateway);
header.setRPTCall1(m_gateway);
header.setRPTCall2(m_callsign);
header.get(data + 1U);
for (unsigned i = 0U; i < 3U; i++)