aboutsummaryrefslogtreecommitdiff
path: root/src/platforms
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2014-12-11 09:27:11 +0100
committerThomas Gubler <thomasgubler@gmail.com>2014-12-11 09:27:11 +0100
commita1685ed6d093ec01214e6839ea66f9dd565e55ce (patch)
treed276f4ea1d2c3e94722a0e69442dab893583cc66 /src/platforms
parentd04bbf11ec5d273902d3920981ccac49489d7098 (diff)
downloadpx4-firmware-a1685ed6d093ec01214e6839ea66f9dd565e55ce.tar.gz
px4-firmware-a1685ed6d093ec01214e6839ea66f9dd565e55ce.tar.bz2
px4-firmware-a1685ed6d093ec01214e6839ea66f9dd565e55ce.zip
change definition of px4 main function
Diffstat (limited to 'src/platforms')
-rw-r--r--src/platforms/px4_defines.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platforms/px4_defines.h b/src/platforms/px4_defines.h
index 283dc5a53..440f1b6fc 100644
--- a/src/platforms/px4_defines.h
+++ b/src/platforms/px4_defines.h
@@ -100,7 +100,7 @@ static inline px4_param_t PX4_ROS_PARAM_SET(const char *name, float value)
#include <functional>
#endif
/* Main entry point */
-#define PX4_MAIN_FUNCTION(_prefix) extern "C" __EXPORT int _prefix##_main(int argc, char *argv[])
+#define PX4_MAIN_FUNCTION(_prefix) int _prefix##_task_main(int argc, char *argv[])
/* Print/output wrappers */
#define PX4_WARN warnx