mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-04 14:07:36 +00:00
Begin handling Icom format network frames. Work in progress.
This commit is contained in:
parent
a5bcf8763b
commit
d17ca9b4ba
9 changed files with 175 additions and 197 deletions
10
NXDNLICH.cpp
10
NXDNLICH.cpp
|
|
@ -107,6 +107,11 @@ unsigned char CNXDNLICH::getDirection() const
|
|||
return (m_lich[0U] >> 1) & 0x01U;
|
||||
}
|
||||
|
||||
unsigned char CNXDNLICH::getData() const
|
||||
{
|
||||
return m_lich[0U];
|
||||
}
|
||||
|
||||
void CNXDNLICH::setRFCT(unsigned char rfct)
|
||||
{
|
||||
m_lich[0U] &= 0x3FU;
|
||||
|
|
@ -131,6 +136,11 @@ void CNXDNLICH::setDirection(unsigned char direction)
|
|||
m_lich[0U] |= (direction << 1) & 0x02U;
|
||||
}
|
||||
|
||||
void CNXDNLICH::setData(unsigned char lich)
|
||||
{
|
||||
m_lich[0U] = lich;
|
||||
}
|
||||
|
||||
CNXDNLICH& CNXDNLICH::operator=(const CNXDNLICH& lich)
|
||||
{
|
||||
if (&lich != this)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue