Skip to content
Snippets Groups Projects
Commit e1e010c5 authored by Randy Mackay's avatar Randy Mackay
Browse files

Copter: remove unused flip_stop

parent 4184c1d6
No related branches found
No related tags found
No related merge requests found
...@@ -90,24 +90,6 @@ static bool flip_init(bool ignore_checks) ...@@ -90,24 +90,6 @@ static bool flip_init(bool ignore_checks)
return true; return true;
} }
// flip_abandon - pilot request to abandon flip
static void flip_stop()
{
// exit immediatley if not in flip mode
if (control_mode != FLIP) {
return;
}
// return to original flip mode
if (!set_mode(flip_orig_control_mode)) {
// this should never happen but just in case
set_mode(STABILIZE);
}
// log completion
Log_Write_Event(DATA_FLIP_END);
}
// flip_run - runs the flip controller // flip_run - runs the flip controller
// should be called at 100hz or more // should be called at 100hz or more
static void flip_run() static void flip_run()
......
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