Commit c211fd79 authored by roangel's avatar roangel
Browse files

more changes controller

parent d7d3b2d2
......@@ -204,6 +204,11 @@ int getInstantController()
void setControllerUsed(int controller) //for permanent configs
{
controller_used = controller;
if(flying_state == STATE_MOTORS_OFF || flying_state == STATE_FLYING)
{
setInstantController(controller); //if motors OFF or STATE FLYING, transparent, change is instant
}
}
int getControllerUsed()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment