aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/boards/px4fmu-v2/px4fmu2_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/boards/px4fmu-v2/px4fmu2_init.c')
-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