minor changes for default options, closing properly all subscriptions in multirotor att control now on exit

This commit is contained in:
Lorenz Meier
2012-08-29 22:33:06 +02:00
parent 7cd89520cc
commit 676daf7c46
3 changed files with 8 additions and 9 deletions
@@ -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);