mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
Plane: removed incomplete DF log of go-around
the right commands should already be logged. This code would have logged a lot of uninitialised bytes
This commit is contained in:
parent
c046273be2
commit
e4f7a7f6d2
@ -1134,14 +1134,6 @@ void GCS_MAVLINK::handleMessage(mavlink_message_t* msg)
|
|||||||
} else {
|
} else {
|
||||||
gcs_send_text_P(SEVERITY_HIGH,PSTR("Rejected go around command."));
|
gcs_send_text_P(SEVERITY_HIGH,PSTR("Rejected go around command."));
|
||||||
}
|
}
|
||||||
|
|
||||||
//Log go around attempt to dataflash
|
|
||||||
if (should_log(MASK_LOG_CMD)) {
|
|
||||||
mavlink_mission_item_t go_around_miss_item;
|
|
||||||
go_around_miss_item.command = MAV_CMD_DO_GO_AROUND;
|
|
||||||
DataFlash.Log_Write_MavCmd(1, go_around_miss_item);
|
|
||||||
}
|
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case MAV_CMD_DO_FENCE_ENABLE:
|
case MAV_CMD_DO_FENCE_ENABLE:
|
||||||
|
Loading…
Reference in New Issue
Block a user