removed unneeded RTL modes

git-svn-id: https://arducopter.googlecode.com/svn/trunk@2371 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
jasonshort 2011-05-21 06:52:18 +00:00
parent 0ecab03e16
commit 26655d47ad

View File

@ -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);
}
/********************************************************************************/