mirror of https://github.com/ArduPilot/ardupilot
Copter: remove duplicate logging of mavlink parachute enable/disable
This commit is contained in:
parent
6201fd3cf0
commit
fdb971fc0b
|
@ -856,11 +856,9 @@ MAV_RESULT GCS_MAVLINK_Copter::handle_command_long_packet(const mavlink_command_
|
|||
switch ((uint16_t)packet.param1) {
|
||||
case PARACHUTE_DISABLE:
|
||||
copter.parachute.enabled(false);
|
||||
AP::logger().Write_Event(LogEvent::PARACHUTE_DISABLED);
|
||||
return MAV_RESULT_ACCEPTED;
|
||||
case PARACHUTE_ENABLE:
|
||||
copter.parachute.enabled(true);
|
||||
AP::logger().Write_Event(LogEvent::PARACHUTE_ENABLED);
|
||||
return MAV_RESULT_ACCEPTED;
|
||||
case PARACHUTE_RELEASE:
|
||||
// treat as a manual release which performs some additional check of altitude
|
||||
|
|
Loading…
Reference in New Issue