Skip to content

Commit

Permalink
Merge pull request #58 from astuff/fix/veh_5_headlights
Browse files Browse the repository at this point in the history
Updated veh_5 headlight states to match current firmware
  • Loading branch information
mlemm99 authored Feb 21, 2019
2 parents 737366f + 0af67d1 commit ddcd5eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/publish_control_board_rev3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -363,10 +363,10 @@ void PublishControlBoardRev3::publish_lights_horn_wipers_message(const sensor_ms
{
if (vehicle_type == VEHICLE_5)
{
if (PublishControl::headlight_state == 4)
PublishControl::headlight_state = 5;
if (PublishControl::headlight_state == 1)
PublishControl::headlight_state = 2;
else
PublishControl::headlight_state = 4;
PublishControl::headlight_state = 1;
}
else
{
Expand Down

0 comments on commit ddcd5eb

Please sign in to comment.