aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2015-01-30 10:39:47 +0100
committerLorenz Meier <lm@inf.ethz.ch>2015-02-11 07:40:59 +0100
commit2610709972fc509ce28d9d8b2bc7999c1a4f5e14 (patch)
tree592a1ca7f98507cab295f9d13a646da7873f3d10
parent477e57fa42bd8be920fa32fdccba05845f6808b3 (diff)
downloadpx4-firmware-2610709972fc509ce28d9d8b2bc7999c1a4f5e14.tar.gz
px4-firmware-2610709972fc509ce28d9d8b2bc7999c1a4f5e14.tar.bz2
px4-firmware-2610709972fc509ce28d9d8b2bc7999c1a4f5e14.zip
FMUv2: CXX init
-rw-r--r--src/drivers/boards/px4fmu-v2/px4fmu2_init.c8
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