mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-27 18:27:05 +08:00
mavlink_log_handler: handle _next_entry (#21784)
This commit is contained in:
committed by
GitHub
parent
bfa72a1bee
commit
018ec97c41
@@ -275,7 +275,7 @@ MavlinkLogHandler::_log_send_listing()
|
|||||||
mavlink_msg_log_entry_send_struct(_mavlink->get_channel(), &response);
|
mavlink_msg_log_entry_send_struct(_mavlink->get_channel(), &response);
|
||||||
|
|
||||||
//-- If we're done listing, flag it.
|
//-- If we're done listing, flag it.
|
||||||
if (_next_entry == _last_entry) {
|
if (_next_entry >= _last_entry) {
|
||||||
_current_status = LogHandlerState::Idle;
|
_current_status = LogHandlerState::Idle;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user