mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
mavlink_log_handler: handle _next_entry (#21784)
This commit is contained in:
parent
bfa72a1bee
commit
018ec97c41
0
_last_entry
Normal file
0
_last_entry
Normal file
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user