Skip to content

Commit

Permalink
mavlink: fixed compilation error after var renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
oravla5 authored and bkueng committed Apr 25, 2024
1 parent 283ae60 commit 98b23e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/mavlink/mavlink_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2592,11 +2592,11 @@ void Mavlink::handleAndGetCurrentCommandAck(bool &logging_start_ack, bool &loggi
}

if (command_ack.command == vehicle_command_s::VEHICLE_CMD_LOGGING_START) {
start_ack = true;
logging_start_ack = true;

} else if (command_ack.command == vehicle_command_s::VEHICLE_CMD_LOGGING_STOP
&& command_ack.result == vehicle_command_ack_s::VEHICLE_CMD_RESULT_ACCEPTED) {
stop_ack = true;
logging_stop_ack = true;
}
}
}
Expand Down

0 comments on commit 98b23e4

Please sign in to comment.