diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2015-01-04 15:33:32 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2015-01-04 15:33:32 +0100 |
commit | 0142002737637e80071487a632b151d47a11a2a0 (patch) | |
tree | 87db354edf0bc0143bd9951f5be4c9d43e74e39d /src/modules/sdlog2/sdlog2.c | |
parent | abc8bf2e84d566b8760896e3c2fc60a871264c71 (diff) | |
download | px4-firmware-0142002737637e80071487a632b151d47a11a2a0.tar.gz px4-firmware-0142002737637e80071487a632b151d47a11a2a0.tar.bz2 px4-firmware-0142002737637e80071487a632b151d47a11a2a0.zip |
mavlink log: Macro added to log to mavlink and console in one go
Diffstat (limited to 'src/modules/sdlog2/sdlog2.c')
-rw-r--r-- | src/modules/sdlog2/sdlog2.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/sdlog2/sdlog2.c b/src/modules/sdlog2/sdlog2.c index efd6594b5..218145809 100644 --- a/src/modules/sdlog2/sdlog2.c +++ b/src/modules/sdlog2/sdlog2.c @@ -396,8 +396,7 @@ int create_log_dir() } /* print logging path, important to find log file later */ - warnx("log dir: %s", log_dir); - mavlink_log_info(mavlink_fd, "[sdlog2] log dir: %s", log_dir); + mavlink_and_console_log_info(mavlink_fd, "[sdlog2] log dir: %s", log_dir); return 0; } |