Browse Source

Copter: remove duplicate logging of RC parachute enable/disable

apm_2208
Peter Barker 3 years ago committed by Randy Mackay
parent
commit
6201fd3cf0
  1. 2
      ArduCopter/RC_Channel.cpp

2
ArduCopter/RC_Channel.cpp

@ -326,11 +326,9 @@ bool RC_Channel_Copter::do_aux_function(const aux_func_t ch_option, const AuxSwi @@ -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);

Loading…
Cancel
Save