aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2015-01-30 09:59:57 +0100
committerDavid Sidrane <david_s5@nscdg.com>2015-04-07 07:49:06 -1000
commit7b12c5c2225970a505e97a5f350239e732a65747 (patch)
tree4fb0d002fa2447afe89f4f8191fc15aa86ce8ed4
parent3747680b17f877a62c03c2a3ae51f823e3622fb9 (diff)
downloadpx4-firmware-7b12c5c2225970a505e97a5f350239e732a65747.tar.gz
px4-firmware-7b12c5c2225970a505e97a5f350239e732a65747.tar.bz2
px4-firmware-7b12c5c2225970a505e97a5f350239e732a65747.zip
FMUv2: board init
-rw-r--r--src/drivers/boards/px4fmu-v2/px4fmu2_init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/drivers/boards/px4fmu-v2/px4fmu2_init.c b/src/drivers/boards/px4fmu-v2/px4fmu2_init.c
index 74bbfa4c6..a99e24920 100644
--- a/src/drivers/boards/px4fmu-v2/px4fmu2_init.c
+++ b/src/drivers/boards/px4fmu-v2/px4fmu2_init.c
@@ -96,6 +96,10 @@ __END_DECLS
* Protected Functions
****************************************************************************/
+#if defined(CONFIG_HAVE_CXX) && defined(CONFIG_HAVE_CXXINITIALIZE)
+__EXPORT extern void up_cxxinitialize();
+#endif
+
#if defined(CONFIG_FAT_DMAMEMORY)
# if !defined(CONFIG_GRAN) || !defined(CONFIG_FAT_DMAMEMORY)
# error microSD DMA support requires CONFIG_GRAN