Skip to content

Commit

Permalink
SRV_Channel: added lift_release
Browse files Browse the repository at this point in the history
for releasing a balloon or other lift device
  • Loading branch information
tridge committed Aug 30, 2024
1 parent c0ad1f2 commit 57ebbcd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions libraries/SRV_Channel/SRV_Channel.h
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ class SRV_Channel {
k_rcin14_mapped = 153,
k_rcin15_mapped = 154,
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)
} Aux_servo_function_t;

Expand Down
1 change: 1 addition & 0 deletions libraries/SRV_Channel/SRV_Channel_aux.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ void SRV_Channel::aux_servo_function_setup(void)
case k_flap:
case k_flap_auto:
case k_egg_drop:
case k_lift_release:
set_range(100);
break;
case k_heli_rsc:
Expand Down

0 comments on commit 57ebbcd

Please sign in to comment.