logger: fix -e parameter (logger immediately stopped again after start)

This commit is contained in:
Beat Küng
2016-05-14 11:27:07 +02:00
committed by Lorenz Meier
parent 408f299dbb
commit 0f30bfa0ac
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -157,6 +157,7 @@ private:
char _log_dir[64];
bool _has_log_dir = false;
bool _enabled = false;
bool _was_armed = false;
// statistics
hrt_abstime _start_time; ///< Time when logging started (not the logger thread)