diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-02-10 09:06:47 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-02-10 09:06:47 +0100 |
commit | d572424996124b1f2dafdcbd48baf1abc85ee627 (patch) | |
tree | aa1a76f141ca0eb934483a008499b8190e9aea4e | |
parent | d67daed8eda53786a2ef4f2d1dd84753734ecbc9 (diff) | |
download | px4-firmware-d572424996124b1f2dafdcbd48baf1abc85ee627.tar.gz px4-firmware-d572424996124b1f2dafdcbd48baf1abc85ee627.tar.bz2 px4-firmware-d572424996124b1f2dafdcbd48baf1abc85ee627.zip |
Build fix hackery
-rw-r--r-- | src/modules/fw_att_pos_estimator/fw_att_pos_estimator_main.cpp | 4 |
1 files changed, 2 insertions, 2 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 9c98a49bb..b32b3686f 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 @@ -357,6 +357,8 @@ FixedwingEstimator::task_main_trampoline(int argc, char *argv[]) estimator::g_estimator->task_main(); } +static float dt = 0.0f; // time lapsed since last covariance prediction + void FixedwingEstimator::task_main() { @@ -407,8 +409,6 @@ FixedwingEstimator::task_main() Vector3f lastAngRate = {0.0f, 0.0f, 0.0f}; Vector3f lastAccel = {0.0f, 0.0f, 0.0f}; - float dt = 0.0f; // time lapsed since last covariance prediction - /* wakeup source(s) */ struct pollfd fds[2]; |