mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-04 14:07:36 +00:00
Reset the layer3 data accumulator at end of transmissions.
This commit is contained in:
parent
6d0e95fb9b
commit
0f685095e5
3 changed files with 10 additions and 4 deletions
|
|
@ -106,6 +106,11 @@ void CNXDNLayer3::getData(unsigned char* data) const
|
|||
::memcpy(data, m_data, 22U);
|
||||
}
|
||||
|
||||
void CNXDNLayer3::reset()
|
||||
{
|
||||
::memset(m_data, 0x00U, 22U);
|
||||
}
|
||||
|
||||
CNXDNLayer3& CNXDNLayer3::operator=(const CNXDNLayer3& layer3)
|
||||
{
|
||||
if (&layer3 != this)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue