aboutsummaryrefslogtreecommitdiff
path: root/src/modules/fw_att_pos_estimator
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2014-04-27 15:45:33 +0200
committerLorenz Meier <lm@inf.ethz.ch>2014-04-27 15:45:33 +0200
commitc74248c8b15af0330e0b76ff0366321bfddda34b (patch)
tree7de37dc94e44678a852a4112671d0c07f7edbac0 /src/modules/fw_att_pos_estimator
parent84943644d77ce21e91fa60a326ab333069333e74 (diff)
parent4a949a9565b08bac24130b36bd677d9d08b7cdc8 (diff)
downloadpx4-firmware-c74248c8b15af0330e0b76ff0366321bfddda34b.tar.gz
px4-firmware-c74248c8b15af0330e0b76ff0366321bfddda34b.tar.bz2
px4-firmware-c74248c8b15af0330e0b76ff0366321bfddda34b.zip
Merged mpc_rc with master
Diffstat (limited to 'src/modules/fw_att_pos_estimator')
-rw-r--r--src/modules/fw_att_pos_estimator/fw_att_pos_estimator_main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/fw_att_pos_estimator/fw_att_pos_estimator_main.cpp b/src/modules/fw_att_pos_estimator/fw_att_pos_estimator_main.cpp
index 9d2d9ed5f..f076c94fd 100644
--- a/src/modules/fw_att_pos_estimator/fw_att_pos_estimator_main.cpp
+++ b/src/modules/fw_att_pos_estimator/fw_att_pos_estimator_main.cpp
@@ -734,21 +734,21 @@ FixedwingEstimator::task_main()
case 1:
{
const char* str = "NaN in states, resetting";
- warnx(str);
+ warnx("%s", str);
mavlink_log_critical(_mavlink_fd, str);
break;
}
case 2:
{
const char* str = "stale IMU data, resetting";
- warnx(str);
+ warnx("%s", str);
mavlink_log_critical(_mavlink_fd, str);
break;
}
case 3:
{
const char* str = "switching dynamic / static state";
- warnx(str);
+ warnx("%s", str);
mavlink_log_critical(_mavlink_fd, str);
break;
}