mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-02 22:18:28 -04:00
Copter: remove duplicate logging of RC parachute enable/disable
This commit is contained in:
parent
2f8b25328d
commit
6201fd3cf0
@ -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…
Reference in New Issue
Block a user