mavlink: fixed compilation error after var renaming

This commit is contained in:
oravla5 2024-04-24 09:01:45 +02:00 committed by Beat Küng
parent 283ae60a15
commit 98b23e41f7

View File

@ -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;
}
}
}