Skip to content
Snippets Groups Projects
Commit 5ada9107 authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Solved a bug: the API of the C++ library was not updated.

parent 602e2fc4
No related branches found
No related tags found
No related merge requests found
......@@ -281,7 +281,7 @@ void AdcCarLightsDriver::set_turn_left(void)
min.G=0;
min.B=0;
this->frame_buffer->add_square_waveform(1.0,0.5,max,min,this->front_left_area);
index_mtn=this->frame_buffer->add_ramp_motion(0.02,7,0,-12,0,0,false);
index_mtn=this->frame_buffer->add_ramp_motion(0.02,7,0,-12,0,false);
this->frame_buffer->load_image(0,this->config_.left_intermitent_file);
this->frame_buffer->add_image_display(0,0,0,0,index_mtn,-1,this->rear_left_area);
color.R=16;
......@@ -316,7 +316,7 @@ void AdcCarLightsDriver::set_turn_right(void)
min.G=0;
min.B=0;
this->frame_buffer->add_square_waveform(1.0,0.5,max,min,this->front_right_area);
index_mtn=this->frame_buffer->add_ramp_motion(0.02,12,0,-7,0,0,true);
index_mtn=this->frame_buffer->add_ramp_motion(0.02,12,0,-7,0,true);
this->frame_buffer->load_image(0,this->config_.right_intermitent_file);
this->frame_buffer->add_image_display(0,0,0,0,index_mtn,-1,this->rear_right_area);
color.R=16;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment