mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-07 23:43:51 +00:00
Rebuild broken FICHs.
This commit is contained in:
parent
f4beafc593
commit
b3c0e68b23
3 changed files with 51 additions and 13 deletions
12
YSFFICH.cpp
12
YSFFICH.cpp
|
|
@ -230,6 +230,18 @@ void CYSFFICH::setFI(unsigned char fi)
|
|||
m_fich[0U] |= (fi << 6) & 0xC0U;
|
||||
}
|
||||
|
||||
void CYSFFICH::setFN(unsigned char fn)
|
||||
{
|
||||
m_fich[1U] &= 0xC7U;
|
||||
m_fich[1U] |= (fn << 3) & 0x38U;
|
||||
}
|
||||
|
||||
void CYSFFICH::setFT(unsigned char ft)
|
||||
{
|
||||
m_fich[1U] &= 0xF8U;
|
||||
m_fich[1U] |= ft & 0x07U;
|
||||
}
|
||||
|
||||
void CYSFFICH::setMR(unsigned char mr)
|
||||
{
|
||||
m_fich[2U] &= 0xC7U;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue