Copter : Remove legacy optical flow control mode
This mode is not compatible with the new PX4Flow interface
This commit is contained in:
parent
23953b459e
commit
900519b35b
@ -65,12 +65,6 @@ static bool set_mode(uint8_t mode)
|
||||
success = rtl_init(ignore_checks);
|
||||
break;
|
||||
|
||||
#if OPTFLOW == ENABLED
|
||||
case OF_LOITER:
|
||||
success = ofloiter_init(ignore_checks);
|
||||
break;
|
||||
#endif
|
||||
|
||||
case DRIFT:
|
||||
success = drift_init(ignore_checks);
|
||||
break;
|
||||
@ -171,12 +165,6 @@ static void update_flight_mode()
|
||||
rtl_run();
|
||||
break;
|
||||
|
||||
#if OPTFLOW == ENABLED
|
||||
case OF_LOITER:
|
||||
ofloiter_run();
|
||||
break;
|
||||
#endif
|
||||
|
||||
case DRIFT:
|
||||
drift_run();
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user