GCS_MAVLink: use defined no_message_to_send constant for what it's good for
This commit is contained in:
parent
0dfe5b64bf
commit
f9399a708c
@ -1045,6 +1045,7 @@ ap_message GCS_MAVLINK::next_deferred_message_to_send()
|
|||||||
AP_HAL::panic("next_deferred_message_to_send called on empty bucket");
|
AP_HAL::panic("next_deferred_message_to_send called on empty bucket");
|
||||||
#endif
|
#endif
|
||||||
find_next_bucket_to_send();
|
find_next_bucket_to_send();
|
||||||
|
return no_message_to_send;
|
||||||
}
|
}
|
||||||
return (ap_message)next;
|
return (ap_message)next;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user