diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2015-01-30 10:39:47 +0100 |
---|---|---|
committer | David Sidrane <david_s5@nscdg.com> | 2015-03-05 08:33:56 -1000 |
commit | 37afc82bd6a4f3a60825c01782b042036ae3ae35 (patch) | |
tree | 02c3a380cdafdd016669a6f1742bbe7e9a17e7bb /src/drivers | |
parent | 9ef46e3a6283b3c1e3867b2685527496a804661a (diff) | |
download | px4-firmware-37afc82bd6a4f3a60825c01782b042036ae3ae35.tar.gz px4-firmware-37afc82bd6a4f3a60825c01782b042036ae3ae35.tar.bz2 px4-firmware-37afc82bd6a4f3a60825c01782b042036ae3ae35.zip |
FMUv2: CXX init
Diffstat (limited to 'src/drivers')
-rw-r--r-- | src/drivers/boards/px4fmu-v2/px4fmu2_init.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/drivers/boards/px4fmu-v2/px4fmu2_init.c b/src/drivers/boards/px4fmu-v2/px4fmu2_init.c index d1ef33cff..2c5ab2025 100644 --- a/src/drivers/boards/px4fmu-v2/px4fmu2_init.c +++ b/src/drivers/boards/px4fmu-v2/px4fmu2_init.c @@ -72,6 +72,10 @@ #include <systemlib/cpuload.h> #include <systemlib/perf_counter.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); @@ -87,10 +91,6 @@ __END_DECLS * Protected Functions ****************************************************************************/ -#if defined(CONFIG_HAVE_CXX) && defined(CONFIG_HAVE_CXXINITIALIZE) -__EXPORT extern void up_cxxinitialize(void); -#endif - #if defined(CONFIG_FAT_DMAMEMORY) # if !defined(CONFIG_GRAN) || !defined(CONFIG_FAT_DMAMEMORY) # error microSD DMA support requires CONFIG_GRAN |