mirror of
https://github.com/ShaYmez/MMDVM_CM.git
synced 2024-11-15 20:51:49 -05:00
Add fixes for P252DMR and YSF2P25
This commit is contained in:
parent
b8f4a63772
commit
d684d0924c
BIN
DMR2M17/DMR2M17
BIN
DMR2M17/DMR2M17
Binary file not shown.
BIN
M172DMR/M172DMR
BIN
M172DMR/M172DMR
Binary file not shown.
@ -672,7 +672,6 @@ unsigned int CModeConv::getM17(unsigned char* data)
|
||||
m_M17.getData(data, 8U);
|
||||
m_M17.getData(tag+1, 1U);
|
||||
m_M17.getData(data+8, 8U);
|
||||
fprintf(stderr, "getM17() m_m17N:tag1:tag2 == %d:%d:%d\n", m_m17N, tag[0U], tag[1U]);
|
||||
m_m17N -= 2U;
|
||||
}
|
||||
return (tag[1U] == TAG_EOT) ? tag[1U] : tag[0];
|
||||
|
@ -799,7 +799,7 @@ int CP252DMR::run()
|
||||
if (m_xlxReflectors != NULL)
|
||||
m_xlxReflectors->clock(ms);
|
||||
|
||||
//if (ms < 5U) CThread::sleep(5U);
|
||||
if (ms < 5U) CThread::sleep(5U);
|
||||
}
|
||||
|
||||
m_p25Network->close();
|
||||
|
@ -51,7 +51,7 @@ m_fichCallMode(0U),
|
||||
m_fichFrameTotal(6U),
|
||||
m_fichMessageRoute(0U),
|
||||
m_fichVOIP(0U),
|
||||
m_fichDataType(2U),
|
||||
m_fichDataType(3U),
|
||||
m_fichSQLType(0U),
|
||||
m_fichSQLCode(0U),
|
||||
m_ysfDT1(),
|
||||
|
@ -247,6 +247,10 @@ unsigned int CModeConv::getYSF(unsigned char* data)
|
||||
m_YSF.getData(tag, 1U);
|
||||
m_YSF.getData(data, 11U);
|
||||
m_ysfN -= 1U;
|
||||
if(tag[0U] == TAG_EOT) {
|
||||
m_YSF.clear();
|
||||
m_ysfN = 0;
|
||||
}
|
||||
return tag[0U];
|
||||
}
|
||||
}
|
||||
|
@ -721,7 +721,6 @@ int CYSF2P25::run()
|
||||
|
||||
// Send data to MMDVMHost
|
||||
m_ysfNetwork->write(m_ysfFrame);
|
||||
|
||||
ysf_cnt++;
|
||||
ysfWatch.start();
|
||||
}
|
||||
|
@ -20,7 +20,7 @@ WiresXMakeUpper=1
|
||||
# FICHFrameTotal=6
|
||||
# FICHMessageRoute=0
|
||||
# FICHVOIP=0
|
||||
# FICHDataType=2
|
||||
# FICHDataType=3
|
||||
# FICHSQLType=0
|
||||
# FICHSQLCode=0
|
||||
DT1=1,34,97,95,43,3,17,0,0,0
|
||||
|
Loading…
Reference in New Issue
Block a user