Skip to content

Commit

Permalink
mavlink_log_handler: handle _next_entry (PX4#21784)
Browse files Browse the repository at this point in the history
  • Loading branch information
harrisonmg authored and antbre committed Sep 14, 2023
1 parent 5b551bd commit 2b3588c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Empty file added _last_entry
Empty file.
2 changes: 1 addition & 1 deletion src/modules/mavlink/mavlink_log_handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 2b3588c

Please sign in to comment.