ArduCopter : Updated handle_guided_request() to report error.

This commit is contained in:
Niti Rohilla 2016-04-26 15:46:40 +05:30 committed by Lucas De Marchi
parent 052fc6b85e
commit 867360c350
1 changed files with 2 additions and 2 deletions

View File

@ -978,9 +978,9 @@ GCS_MAVLINK::data_stream_send(void)
}
void GCS_MAVLINK::handle_guided_request(AP_Mission::Mission_Command &cmd)
bool GCS_MAVLINK::handle_guided_request(AP_Mission::Mission_Command &cmd)
{
copter.do_guided(cmd);
return copter.do_guided(cmd);
}
void GCS_MAVLINK::handle_change_alt_request(AP_Mission::Mission_Command &cmd)