Skip to content

Commit 9cd3049

Browse files
committed
Fixed some issues.
1 parent 79fc48e commit 9cd3049

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/parser/dbcscanner.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#include <algorithm>
33
#include <math.h>
44

5-
#define MAX_LINE 256
5+
#define MAX_LINE 4096
66

77
char line[MAX_LINE] = { 0 };
88

@@ -98,7 +98,7 @@ void DbcScanner::ParseMessageInfo(istream& readstrm)
9898
// put successfully parsed signal to the message signals
9999
pMsg->Signals.push_back(sig);
100100

101-
if (sig.IsDoubleSig)
101+
if (sig.IsDoubleSig || sig.IsSimpleSig != true)
102102
pMsg->hasPhys = true;
103103
}
104104
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy