diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2015-01-30 10:39:20 +0100 |
---|---|---|
committer | David Sidrane <david_s5@nscdg.com> | 2015-04-07 07:18:45 -1000 |
commit | f52837dbde5780cd17393605cf6ae6632ecd2e30 (patch) | |
tree | 640474374eb0bbf411269766405fc8f5f11279a5 /src/drivers/boards/aerocore/aerocore_init.c | |
parent | 3d1e946720f3cfb4e35d8939825f8f099e70d6c3 (diff) | |
download | px4-firmware-f52837dbde5780cd17393605cf6ae6632ecd2e30.tar.gz px4-firmware-f52837dbde5780cd17393605cf6ae6632ecd2e30.tar.bz2 px4-firmware-f52837dbde5780cd17393605cf6ae6632ecd2e30.zip |
Aerocore: CXX init
Diffstat (limited to 'src/drivers/boards/aerocore/aerocore_init.c')
-rw-r--r-- | src/drivers/boards/aerocore/aerocore_init.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/drivers/boards/aerocore/aerocore_init.c b/src/drivers/boards/aerocore/aerocore_init.c index 79e3e9e77..4d257d24b 100644 --- a/src/drivers/boards/aerocore/aerocore_init.c +++ b/src/drivers/boards/aerocore/aerocore_init.c @@ -71,6 +71,10 @@ #include <systemlib/cpuload.h> #include <systemlib/perf_counter.h> +#if defined(CONFIG_HAVE_CXX) && defined(CONFIG_HAVE_CXXINITIALIZE) +#include <systemlib/systemlib.h> +#endif + /**************************************************************************** * Pre-Processor Definitions ****************************************************************************/ @@ -110,10 +114,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 |