mirror of
https://github.com/ShaYmez/MMDVM_CM.git
synced 2026-06-08 08:54:51 -04:00
Patching YSF2P25 matching G4KLX code
This commit is contained in:
+2
-2
@@ -636,7 +636,7 @@ int CYSF2P25::run()
|
||||
|
||||
unsigned char csd1[20U], csd2[20U];
|
||||
memset(csd1, '*', YSF_CALLSIGN_LENGTH/2);
|
||||
memcpy(csd1 + YSF_CALLSIGN_LENGTH/2, m_conf.getYsfRadioID(), YSF_CALLSIGN_LENGTH/2);
|
||||
memcpy(csd1 + YSF_CALLSIGN_LENGTH/2, m_conf.getYsfRadioID().c_str(), YSF_CALLSIGN_LENGTH/2);
|
||||
memcpy(csd1 + YSF_CALLSIGN_LENGTH, m_netSrc.c_str(), YSF_CALLSIGN_LENGTH);
|
||||
memset(csd2, ' ', YSF_CALLSIGN_LENGTH + YSF_CALLSIGN_LENGTH);
|
||||
|
||||
@@ -676,7 +676,7 @@ int CYSF2P25::run()
|
||||
|
||||
unsigned char csd1[20U], csd2[20U];
|
||||
memset(csd1, '*', YSF_CALLSIGN_LENGTH/2);
|
||||
memcpy(csd1 + YSF_CALLSIGN_LENGTH/2, m_conf.getYsfRadioID(), YSF_CALLSIGN_LENGTH/2);
|
||||
memcpy(csd1 + YSF_CALLSIGN_LENGTH/2, m_conf.getYsfRadioID().c_str(), YSF_CALLSIGN_LENGTH/2);
|
||||
memcpy(csd1 + YSF_CALLSIGN_LENGTH, m_netSrc.c_str(), YSF_CALLSIGN_LENGTH);
|
||||
memset(csd2, ' ', YSF_CALLSIGN_LENGTH + YSF_CALLSIGN_LENGTH);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user