diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2012-08-29 22:33:06 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2012-08-29 22:33:06 +0200 |
commit | 676daf7c46a2458cb68aacf7b15eca3d5932c635 (patch) | |
tree | 72cae10ff62d3cdc2b9e229669037d3aac44409e /apps/multirotor_att_control/multirotor_att_control_main.c | |
parent | 7cd89520cc8846e5ca00f251311e6c4a50b1f7e5 (diff) | |
download | px4-firmware-676daf7c46a2458cb68aacf7b15eca3d5932c635.tar.gz px4-firmware-676daf7c46a2458cb68aacf7b15eca3d5932c635.tar.bz2 px4-firmware-676daf7c46a2458cb68aacf7b15eca3d5932c635.zip |
minor changes for default options, closing properly all subscriptions in multirotor att control now on exit
Diffstat (limited to 'apps/multirotor_att_control/multirotor_att_control_main.c')
-rw-r--r-- | apps/multirotor_att_control/multirotor_att_control_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/multirotor_att_control/multirotor_att_control_main.c b/apps/multirotor_att_control/multirotor_att_control_main.c index 9a23e8290..9fbe4c3ca 100644 --- a/apps/multirotor_att_control/multirotor_att_control_main.c +++ b/apps/multirotor_att_control/multirotor_att_control_main.c @@ -191,6 +191,7 @@ mc_thread_main(int argc, char *argv[]) close(manual_sub); close(actuator_pub); close(armed_pub); + close(att_sp_pub); perf_print_counter(mc_loop_perf); perf_free(mc_loop_perf); |