mirror of https://github.com/rusefi/opendbc.git
dbc: force C locale for numbers. (#839)
This commit is contained in:
parent
7e3b518d33
commit
3ba8e77bd4
|
@ -106,6 +106,7 @@ DBC* dbc_parse_from_stream(const std::string &dbc_name, std::istream &stream, Ch
|
|||
std::map<uint32_t, std::vector<Signal>> signals;
|
||||
DBC* dbc = new DBC;
|
||||
dbc->name = dbc_name;
|
||||
std::setlocale(LC_NUMERIC, "C");
|
||||
|
||||
// used to find big endian LSB from MSB and size
|
||||
std::vector<int> be_bits;
|
||||
|
|
Loading…
Reference in New Issue