mirror of https://github.com/ArduPilot/ardupilot
GCS_MAVLink: clarify extra code in do_try_send_message is debug code
This commit is contained in:
parent
f9399a708c
commit
b696986de6
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue