Add raw data accessors to the channel data classes.

This commit is contained in:
Jonathan Naylor
2018-02-21 07:48:24 +00:00
parent 4b2df6150f
commit 7696add241
9 changed files with 73 additions and 34 deletions

View File

@@ -679,7 +679,7 @@ void CNXDNControl::writeNetwork()
CSync::addNXDNSync(data + 2U);
CNXDNLICH lich;
lich.setData(netData[0U]);
lich.setRaw(netData[0U]);
unsigned char usc = lich.getFCT();
unsigned char option = lich.getOption();
lich.setDirection(m_remoteGateway ? NXDN_LICH_DIRECTION_INBOUND : NXDN_LICH_DIRECTION_OUTBOUND);