Copter: remove duplicate logging of RC parachute enable/disable

This commit is contained in:
Peter Barker 2022-05-06 11:18:20 +10:00 committed by Randy Mackay
parent 2f8b25328d
commit 6201fd3cf0

View File

@ -326,11 +326,9 @@ bool RC_Channel_Copter::do_aux_function(const aux_func_t ch_option, const AuxSwi
switch (ch_flag) {
case AuxSwitchPos::LOW:
copter.parachute.enabled(false);
AP::logger().Write_Event(LogEvent::PARACHUTE_DISABLED);
break;
case AuxSwitchPos::MIDDLE:
copter.parachute.enabled(true);
AP::logger().Write_Event(LogEvent::PARACHUTE_ENABLED);
break;
case AuxSwitchPos::HIGH:
copter.parachute.enabled(true);