forked from Archive/PX4-Autopilot
mavlink_log_handler: handle _next_entry (#21784)
This commit is contained in:
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 {
|
||||||
|
|
Loading…
Reference in New Issue