mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-21 04:33:10 +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);
|
||||
|
||||
//-- If we're done listing, flag it.
|
||||
if (_next_entry == _last_entry) {
|
||||
if (_next_entry >= _last_entry) {
|
||||
_current_status = LogHandlerState::Idle;
|
||||
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user