mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-20 22:45:44 +08:00
Fix bug added in FICH regeneration.
This commit is contained in:
@@ -171,15 +171,13 @@ bool CYSFControl::writeModem(unsigned char *data, unsigned int len)
|
||||
}
|
||||
}
|
||||
|
||||
fich.setFI(YSF_FI_COMMUNICATIONS);
|
||||
fich.setFN(fn);
|
||||
fich.setFT(ft);
|
||||
fich.setBN(bn);
|
||||
fich.setBT(bt);
|
||||
m_lastFICH.setFI(YSF_FI_COMMUNICATIONS);
|
||||
m_lastFICH.setFN(fn);
|
||||
m_lastFICH.setBN(bn);
|
||||
} else {
|
||||
m_lastFICH = fich;
|
||||
}
|
||||
|
||||
m_lastFICH = fich;
|
||||
|
||||
#ifdef notdef
|
||||
// Stop repeater packets coming through, unless we're acting as a remote gateway
|
||||
if (m_remoteGateway) {
|
||||
|
||||
Reference in New Issue
Block a user