Fixed several DBC related bugs, expanded support for FD frames in the
DBC editor windows. Should more or less function now even for FD frames.
This commit is contained in:
@@ -256,7 +256,7 @@ public:
|
||||
bit = startBit;
|
||||
for (int bitpos = 0; bitpos < sigSize; bitpos++)
|
||||
{
|
||||
if (bit < 64) {
|
||||
if (bit < 512) {
|
||||
int bytePos = bit / 8;
|
||||
if (bytePos >= data.count()) return 0; //error!
|
||||
if (data[bit / 8] & (1 << (bit % 8)))
|
||||
@@ -271,7 +271,7 @@ public:
|
||||
bit = startBit;
|
||||
for (int bitpos = 0; bitpos < sigSize; bitpos++)
|
||||
{
|
||||
if (bit < 64) {
|
||||
if (bit < 512) {
|
||||
int bytePos = bit / 8;
|
||||
if (bytePos >= data.count()) return 0; //error!
|
||||
if (data[bit / 8] & (1 << (bit % 8)))
|
||||
|
||||
Reference in New Issue
Block a user