Copter: remove unused flip_stop

This commit is contained in:
Randy Mackay 2014-08-23 23:26:29 +09:00
parent 4184c1d6e5
commit e1e010c504

View File

@ -90,24 +90,6 @@ static bool flip_init(bool ignore_checks)
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
// should be called at 100hz or more
static void flip_run()