Browse Source

AP_Logger: Use actual MAVLink constant

This isn't a functional change, it just improves the readibility of the
file
gps-1.3.1
Michael du Breuil 4 years ago committed by Peter Barker
parent
commit
e3109e4b29
  1. 4
      libraries/AP_Logger/AP_Logger_MAVLink.cpp

4
libraries/AP_Logger/AP_Logger_MAVLink.cpp

@ -274,9 +274,9 @@ void AP_Logger_MAVLink::remote_log_block_status_msg(const GCS_MAVLINK &link, @@ -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();

Loading…
Cancel
Save