diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2013-09-01 10:29:30 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-09-01 10:29:30 +0200 |
commit | f6bf1c7bf2d83bfc70fb8c4b9f589b25bcccc5e4 (patch) | |
tree | 76b1daacb7b1b6abedd34fd10539f5a06ab0649a /src/modules/commander | |
parent | c3408332fd0e6d77661a26fade8662a8b9be9970 (diff) | |
download | px4-firmware-f6bf1c7bf2d83bfc70fb8c4b9f589b25bcccc5e4.tar.gz px4-firmware-f6bf1c7bf2d83bfc70fb8c4b9f589b25bcccc5e4.tar.bz2 px4-firmware-f6bf1c7bf2d83bfc70fb8c4b9f589b25bcccc5e4.zip |
Closing files that should be closed
Diffstat (limited to 'src/modules/commander')
-rw-r--r-- | src/modules/commander/commander.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/commander/commander.cpp b/src/modules/commander/commander.cpp index 45e0307e6..8e8226f09 100644 --- a/src/modules/commander/commander.cpp +++ b/src/modules/commander/commander.cpp @@ -319,6 +319,8 @@ void print_status() break; } + close(state_sub); + warnx("arming: %s", armed_str); } @@ -1764,5 +1766,7 @@ void *commander_low_prio_loop(void *arg) } + close(cmd_sub); + return 0; } |