Intel vs Motorola format was backwards in the program. This has been
corrected. Any older DBC files saved by this program will need to be updated to compensate.
This commit is contained in:
+1
-1
@@ -340,7 +340,7 @@ void DBCSignalEditor::fillSignalForm(DBC_SIGNAL *sig)
|
||||
startBit = sig->startBit;
|
||||
startByte = startBit / 8;
|
||||
bitWithinByteStart = startBit % 8;
|
||||
if (sig->intelByteOrder)
|
||||
if (!sig->intelByteOrder)
|
||||
{
|
||||
bitWithinByteStart = 7 - bitWithinByteStart;
|
||||
startBit = (startByte * 8) + bitWithinByteStart;
|
||||
|
||||
Reference in New Issue
Block a user