From 490cd95cb227390269740dff05eb56188639d5bf Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Sat, 21 May 2016 14:09:59 +0200 Subject: [PATCH] EKF1: Simplify output --- .../ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/modules/ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp b/src/modules/ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp index cb4f0b8b08..ae452c01d3 100644 --- a/src/modules/ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp +++ b/src/modules/ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp @@ -422,8 +422,7 @@ int AttitudePositionEstimatorEKF::check_filter_state() // Do not warn about accel offset if we have no position updates if (!(warn_index == 5 && _ekf->staticMode)) { - PX4_WARN("reset: %s", feedback[warn_index]); - mavlink_log_critical(&_mavlink_log_pub, "[ekf check] %s", feedback[warn_index]); + mavlink_and_console_log_critical(&_mavlink_log_pub, "[ekf check] %s", feedback[warn_index]); } }