Get half of the late entry working.

This commit is contained in:
Jonathan Naylor 2018-02-02 06:34:21 +00:00
parent a1cb1f1b01
commit 8ff50ce2d3
4 changed files with 2 additions and 6 deletions

View file

@ -22,7 +22,6 @@
#include "NXDNDefines.h"
#include "NXDNCRC.h"
#include "Utils.h"
#include "Log.h"
#include <cstdio>
#include <cassert>

View file

@ -18,7 +18,6 @@
#include "NXDNDefines.h"
#include "NXDNLayer3.h"
#include "Log.h"
#include <cstdio>
#include <cassert>
@ -53,8 +52,8 @@ void CNXDNLayer3::decode(const unsigned char* bytes, unsigned int length, unsign
assert(bytes != NULL);
for (unsigned int i = 0U; i < length; i++, offset++) {
bool b = READ_BIT1(bytes, offset);
WRITE_BIT1(m_data, i, b);
bool b = READ_BIT1(bytes, i);
WRITE_BIT1(m_data, offset, b);
}
}

View file

@ -22,7 +22,6 @@
#include "NXDNDefines.h"
#include "NXDNCRC.h"
#include "Utils.h"
#include "Log.h"
#include <cstdio>
#include <cassert>

View file

@ -22,7 +22,6 @@
#include "NXDNDefines.h"
#include "NXDNCRC.h"
#include "Utils.h"
#include "Log.h"
#include <cstdio>
#include <cassert>