mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-05 06:25:24 +00:00
Add raw data accessors to the channel data classes.
This commit is contained in:
parent
4b2df6150f
commit
7696add241
9 changed files with 73 additions and 34 deletions
|
|
@ -107,7 +107,7 @@ unsigned char CNXDNLICH::getDirection() const
|
|||
return (m_lich[0U] >> 1) & 0x01U;
|
||||
}
|
||||
|
||||
unsigned char CNXDNLICH::getData() const
|
||||
unsigned char CNXDNLICH::getRaw() const
|
||||
{
|
||||
return m_lich[0U];
|
||||
}
|
||||
|
|
@ -136,7 +136,7 @@ void CNXDNLICH::setDirection(unsigned char direction)
|
|||
m_lich[0U] |= (direction << 1) & 0x02U;
|
||||
}
|
||||
|
||||
void CNXDNLICH::setData(unsigned char lich)
|
||||
void CNXDNLICH::setRaw(unsigned char lich)
|
||||
{
|
||||
m_lich[0U] = lich;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue