Skip to content

Commit

Permalink
fixed small bug with byte_order and value_type
Browse files Browse the repository at this point in the history
  • Loading branch information
xR3b0rn committed Dec 13, 2019
1 parent e0adca6 commit d7466dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/dbcppp/DBC_Grammar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -807,8 +807,8 @@ struct NetworkGrammar
_multiplexer_indicator %= -_C_identifier;
_start_bit %= _unsigned_integer;
_signal_size %= _unsigned_integer;
_byte_order %= qi::lexeme[qi::char_('0') | qi::char_('1')][set_byte_order];
_value_type %= qi::lexeme[qi::char_('-') | qi::char_('+')][set_value_type];
_byte_order = qi::lexeme[qi::char_('0') | qi::char_('1')][set_byte_order];
_value_type = qi::lexeme[qi::char_('-') | qi::char_('+')][set_value_type];
_factor %= _double;
_offset %= _double;
_minimum %= _double;
Expand Down
2 changes: 1 addition & 1 deletion src/dbcppp/Signal.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ namespace dbcppp
};
enum class ByteOrder
{
BigEndian, LittleEndian
LittleEndian, BigEndian
};
enum class ValueType
{
Expand Down

0 comments on commit d7466dd

Please sign in to comment.