diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2015-01-30 10:39:34 +0100 |
---|---|---|
committer | David Sidrane <david_s5@nscdg.com> | 2015-04-07 07:18:45 -1000 |
commit | 672fabc827322fc5948b8646743cbeb92e4474f9 (patch) | |
tree | fd0b0e6bf5224322c887d0ef682dfc66a9a5b2b4 /src | |
parent | f52837dbde5780cd17393605cf6ae6632ecd2e30 (diff) | |
download | px4-firmware-672fabc827322fc5948b8646743cbeb92e4474f9.tar.gz px4-firmware-672fabc827322fc5948b8646743cbeb92e4474f9.tar.bz2 px4-firmware-672fabc827322fc5948b8646743cbeb92e4474f9.zip |
FMUv1: CXX init
Diffstat (limited to 'src')
-rw-r--r-- | src/drivers/boards/px4fmu-v1/px4fmu_init.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/drivers/boards/px4fmu-v1/px4fmu_init.c b/src/drivers/boards/px4fmu-v1/px4fmu_init.c index fb32d258c..8118e4809 100644 --- a/src/drivers/boards/px4fmu-v1/px4fmu_init.c +++ b/src/drivers/boards/px4fmu-v1/px4fmu_init.c @@ -69,6 +69,10 @@ #include <systemlib/cpuload.h> +#if defined(CONFIG_HAVE_CXX) && defined(CONFIG_HAVE_CXXINITIALIZE) +#include <systemlib/systemlib.h> +#endif + /* todo: This is constant but not proper */ __BEGIN_DECLS extern void led_off(int led); @@ -91,10 +95,6 @@ __END_DECLS * Public Functions ****************************************************************************/ -#if defined(CONFIG_HAVE_CXX) && defined(CONFIG_HAVE_CXXINITIALIZE) -__EXPORT extern void up_cxxinitialize(void); -#endif - /************************************************************************************ * Name: stm32_boardinitialize * |