Fix bug added in FICH regeneration.

This commit is contained in:
Jonathan Naylor 2020-10-13 10:11:13 +01:00
parent c1171bc052
commit ff19408e2d

View file

@ -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) {