mirror of https://github.com/ArduPilot/ardupilot
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:
parent
70ab9ba3b6
commit
e3109e4b29
|
@ -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…
Reference in New Issue