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:
Collin Kidder
2022-12-07 21:51:44 -05:00
parent 8c19e6f123
commit 8ff3459c75
6 changed files with 81 additions and 40 deletions
+2 -2
View File
@@ -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)))