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,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