SRV_Channel: added lift_release

for releasing a balloon or other lift device
This commit is contained in:
Andrew Tridgell 2024-08-30 14:01:32 +10:00
parent b1fe1f18d4
commit 05fbc4767d
2 changed files with 2 additions and 0 deletions

View File

@ -188,6 +188,7 @@ public:
k_rcin14_mapped = 153, k_rcin14_mapped = 153,
k_rcin15_mapped = 154, k_rcin15_mapped = 154,
k_rcin16_mapped = 155, k_rcin16_mapped = 155,
k_lift_release = 156,
k_nr_aux_servo_functions ///< This must be the last enum value (only add new values _before_ this one) k_nr_aux_servo_functions ///< This must be the last enum value (only add new values _before_ this one)
} Aux_servo_function_t; } Aux_servo_function_t;

View File

@ -140,6 +140,7 @@ void SRV_Channel::aux_servo_function_setup(void)
case k_flap: case k_flap:
case k_flap_auto: case k_flap_auto:
case k_egg_drop: case k_egg_drop:
case k_lift_release:
set_range(100); set_range(100);
break; break;
case k_heli_rsc: case k_heli_rsc: