mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-20 22:45:44 +08:00
Begin handling Icom format network frames. Work in progress.
This commit is contained in:
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)
|
||||
|
||||
Reference in New Issue
Block a user