mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 11:06:04 +08:00
Add missing mode switch channel
This commit is contained in:
@@ -1279,7 +1279,7 @@ PX4IO::io_set_rc_config()
|
|||||||
|
|
||||||
if ((ichan >= 0) && (ichan < (int)_max_rc_input)) {
|
if ((ichan >= 0) && (ichan < (int)_max_rc_input)) {
|
||||||
/* use out of normal bounds index to indicate special channel */
|
/* use out of normal bounds index to indicate special channel */
|
||||||
input_map[ichan - 1] = PX4IO_P_RC_CONFIG_ASSIGNMENT_MODESWITCH;
|
input_map[ichan] = PX4IO_P_RC_CONFIG_ASSIGNMENT_MODESWITCH;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user