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