GCS_MAVLink: clarify extra code in do_try_send_message is debug code

This commit is contained in:
Peter Barker 2018-12-07 10:27:58 +11:00 committed by Randy Mackay
parent f9399a708c
commit b696986de6
1 changed files with 3 additions and 3 deletions

View File

@ -1050,9 +1050,9 @@ ap_message GCS_MAVLINK::next_deferred_message_to_send()
return (ap_message)next;
}
// call try_send_message if appropriate. Incorporates code to record
// how long it takes to send a message.
// try_send_message is expected to be overridden, not this function.
// call try_send_message if appropriate. Incorporates debug code to
// record how long it takes to send a message. try_send_message is
// expected to be overridden, not this function.
bool GCS_MAVLINK::do_try_send_message(const ap_message id)
{
const bool in_delay_callback = hal.scheduler->in_delay_callback();