Skip to content

Commit

Permalink
Syntax and encoding fixes (commaai#111)
Browse files Browse the repository at this point in the history
* Fix syntax error in Honda Civic Touring comment

Add escaping to nested quotes in comment.

* Convert caddilac_ct6_powertrain.dbc to UTF-8

Fixes decoding issue of the degrees rune.

* Convert gm_global_a_powertrain.dbc to UTF-8

Fixes decoding issue of the degrees rune.
  • Loading branch information
odsod authored and rbiasini committed Sep 17, 2018
1 parent f85e646 commit 7b87882
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cadillac_ct6_powertrain.dbc
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ BO_ 1033 ASCMKeepAlive: 7 NEO
SG_ ASCMKeepAliveAllZero : 7|56@0+ (1,0) [0|0] "" NEO

BO_ 1217 ECMEngineCoolantTemp: 8 K20_ECM
SG_ EngineCoolantTemp : 23|8@0+ (1,-40) [0|0] "C" NEO
SG_ EngineCoolantTemp : 23|8@0+ (1,-40) [0|0] "°C" NEO

BO_ 1249 VIN_Part2: 8 K20_ECM
SG_ VINPart2 : 7|64@0+ (1,0) [0|0] "" NEO
Expand Down
2 changes: 1 addition & 1 deletion generator/honda/honda_civic_touring_2016_can.dbc
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ BO_ 1302 ODOMETER: 8 XXX

CM_ SG_ 401 GEAR "10 = reverse, 11 = transition";
CM_ SG_ 420 BRAKE_HOLD_RELATED "On when Brake Hold engaged";
CM_ SG_ 450 EPB_STATE "3 "engaged" 2 "disengaging" 1 "engaging" 0 "disengaged"";
CM_ SG_ 450 EPB_STATE "3 \"engaged\" 2 \"disengaging\" 1 \"engaging\" 0 \"disengaged\"";
CM_ SG_ 806 REVERSE_LIGHT "Might be reverse gear selected and not the lights";

VAL_ 399 STEER_STATUS 5 "fault" 4 "no_torque_alert_2" 2 "no_torque_alert_1" 0 "normal" ;
Expand Down
2 changes: 1 addition & 1 deletion gm_global_a_powertrain.dbc
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ BO_ 1033 ASCMKeepAlive: 7 NEO
BO_ 1034 ASCM_40A: 7 K124_ASCM

BO_ 1217 ECMEngineCoolantTemp: 8 K20_ECM
SG_ EngineCoolantTemp : 23|8@0+ (1,-40) [0|0] "C" NEO
SG_ EngineCoolantTemp : 23|8@0+ (1,-40) [0|0] "°C" NEO

BO_ 1249 VIN_Part2: 8 K20_ECM
SG_ VINPart2 : 7|64@0+ (1,0) [0|0] "" NEO
Expand Down
2 changes: 1 addition & 1 deletion honda_civic_touring_2016_can_generated.dbc
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ BO_ 1302 ODOMETER: 8 XXX

CM_ SG_ 401 GEAR "10 = reverse, 11 = transition";
CM_ SG_ 420 BRAKE_HOLD_RELATED "On when Brake Hold engaged";
CM_ SG_ 450 EPB_STATE "3 "engaged" 2 "disengaging" 1 "engaging" 0 "disengaged"";
CM_ SG_ 450 EPB_STATE "3 \"engaged\" 2 \"disengaging\" 1 \"engaging\" 0 \"disengaged\"";
CM_ SG_ 806 REVERSE_LIGHT "Might be reverse gear selected and not the lights";

VAL_ 399 STEER_STATUS 5 "fault" 4 "no_torque_alert_2" 2 "no_torque_alert_1" 0 "normal" ;
Expand Down

0 comments on commit 7b87882

Please sign in to comment.