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

Solved a bug: incremented the current servo index after each iteration.

parent f74fe90b
No related branches found
No related tags found
No related merge requests found
......@@ -295,7 +295,7 @@ void manager_init(uint16_t period_us)
// set the action current angles
manager_current_angles[i]=manager_servos[i].current_angle<<9;
manager_num_servos++;
current=0;
current++;
}
else
{
......
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