mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 17:23:33 +08:00
MAVLink app: formatting
This commit is contained in:
@@ -403,7 +403,7 @@ protected:
|
||||
|
||||
|
||||
// TODO: the logging doesn't work on Snapdragon yet because of file paths.
|
||||
#ifdef __PX4_POSIX_EAGLE
|
||||
#ifndef __PX4_POSIX_EAGLE
|
||||
/* write log messages in first instance to disk */
|
||||
if (_mavlink->get_instance_id() == 0) {
|
||||
if (fp) {
|
||||
@@ -442,9 +442,8 @@ protected:
|
||||
/* write first message */
|
||||
fputs(msg.text, fp);
|
||||
fputs("\n", fp);
|
||||
}
|
||||
else {
|
||||
warn("Failed to open %s errno=%d", log_file_path, errno);
|
||||
} else {
|
||||
PX4_WARN("Failed to open %s errno=%d", log_file_path, errno);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user