aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJulian Oes <julian@oes.ch>2014-02-19 10:48:31 +0100
committerJulian Oes <julian@oes.ch>2014-02-19 10:48:31 +0100
commit79d2e5de6cf00186359e5b436c602055e4110249 (patch)
tree15904f0cde53b128d88e5d96e74d56aa488cab1d /src
parent83f66e45999c7db8734534ba1cfb9f9e023f47a7 (diff)
downloadpx4-firmware-79d2e5de6cf00186359e5b436c602055e4110249.tar.gz
px4-firmware-79d2e5de6cf00186359e5b436c602055e4110249.tar.bz2
px4-firmware-79d2e5de6cf00186359e5b436c602055e4110249.zip
TECS: use constant from geo
Diffstat (limited to 'src')
-rw-r--r--src/lib/ecl/ecl.h3
-rw-r--r--src/lib/external_lgpl/tecs/tecs.cpp5
2 files changed, 2 insertions, 6 deletions
diff --git a/src/lib/ecl/ecl.h b/src/lib/ecl/ecl.h
index e0f207696..aa3c5000a 100644
--- a/src/lib/ecl/ecl.h
+++ b/src/lib/ecl/ecl.h
@@ -38,7 +38,6 @@
*/
#include <drivers/drv_hrt.h>
-#include <geo/geo.h>
#define ecl_absolute_time hrt_absolute_time
-#define ecl_elapsed_time hrt_elapsed_time \ No newline at end of file
+#define ecl_elapsed_time hrt_elapsed_time
diff --git a/src/lib/external_lgpl/tecs/tecs.cpp b/src/lib/external_lgpl/tecs/tecs.cpp
index 0f28bccad..3730b1920 100644
--- a/src/lib/external_lgpl/tecs/tecs.cpp
+++ b/src/lib/external_lgpl/tecs/tecs.cpp
@@ -3,13 +3,10 @@
#include "tecs.h"
#include <ecl/ecl.h>
#include <systemlib/err.h>
+#include <geo/geo.h>
using namespace math;
-#ifndef CONSTANTS_ONE_G
-#define CONSTANTS_ONE_G GRAVITY
-#endif
-
/**
* @file tecs.cpp
*