mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 11:13:35 +08:00
action_request: rename ACTION_TERMINATE to ACTION_TERMINATION for clarity
This commit is contained in:
committed by
Alex Klimaj
parent
9d75bdbe62
commit
200be07021
@@ -239,7 +239,7 @@ void ManualControl::processSwitches(hrt_abstime &now)
|
||||
|
||||
if (switches.termination_switch != _previous_switches.termination_switch
|
||||
&& switches.termination_switch == manual_control_switches_s::SWITCH_POS_ON) {
|
||||
sendActionRequest(action_request_s::ACTION_TERMINATE, action_request_s::SOURCE_RC_SWITCH);
|
||||
sendActionRequest(action_request_s::ACTION_TERMINATION, action_request_s::SOURCE_RC_SWITCH);
|
||||
}
|
||||
|
||||
if (switches.gear_switch != _previous_switches.gear_switch
|
||||
|
||||
Reference in New Issue
Block a user