mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
removed unneeded RTL modes
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2371 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
0ecab03e16
commit
26655d47ad
@ -195,9 +195,6 @@ bool verify_may()
|
||||
|
||||
void do_RTL(void)
|
||||
{
|
||||
// we need to change this.
|
||||
wp_control = LOITER_MODE;
|
||||
control_mode = LOITER;
|
||||
Location temp = home;
|
||||
temp.alt = read_alt_to_hold();
|
||||
|
||||
@ -210,9 +207,6 @@ void do_RTL(void)
|
||||
|
||||
// output control mode to the ground station
|
||||
gcs.send_message(MSG_HEARTBEAT);
|
||||
|
||||
//if (g.log_bitmask & MASK_LOG_MODE)
|
||||
// Log_Write_Mode(control_mode);
|
||||
}
|
||||
|
||||
/********************************************************************************/
|
||||
|
Loading…
Reference in New Issue
Block a user