AP_Logger: Use actual MAVLink constant

This isn't a functional change, it just improves the readibility of the
file
This commit is contained in:
Michael du Breuil 2021-08-19 17:02:45 -07:00 committed by Peter Barker
parent 70ab9ba3b6
commit e3109e4b29
1 changed files with 2 additions and 2 deletions

View File

@ -274,9 +274,9 @@ void AP_Logger_MAVLink::remote_log_block_status_msg(const GCS_MAVLINK &link,
if (!semaphore.take_nonblocking()) {
return;
}
if(packet.status == 0){
if(packet.status == MAV_REMOTE_LOG_DATA_BLOCK_NACK) {
handle_retry(packet.seqno);
} else{
} else {
handle_ack(link, msg, packet.seqno);
}
semaphore.give();