aboutsummaryrefslogtreecommitdiff
path: root/src/platforms/px4_middleware.h
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2014-11-26 11:36:23 +0100
committerThomas Gubler <thomasgubler@gmail.com>2014-11-26 11:36:23 +0100
commite7c1e5b1ff7b1bbdc11ab2cae6b99fe459487119 (patch)
treeed69515032079068a3f9fcbf46356a0f860e2f48 /src/platforms/px4_middleware.h
parent3c6f6618e8709c22ac21f8f0353f292f25da22f7 (diff)
downloadpx4-firmware-e7c1e5b1ff7b1bbdc11ab2cae6b99fe459487119.tar.gz
px4-firmware-e7c1e5b1ff7b1bbdc11ab2cae6b99fe459487119.tar.bz2
px4-firmware-e7c1e5b1ff7b1bbdc11ab2cae6b99fe459487119.zip
wip, working on the nuttx wrapper
Diffstat (limited to 'src/platforms/px4_middleware.h')
-rw-r--r--src/platforms/px4_middleware.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/platforms/px4_middleware.h b/src/platforms/px4_middleware.h
index d1c0656af..eebfc9049 100644
--- a/src/platforms/px4_middleware.h
+++ b/src/platforms/px4_middleware.h
@@ -40,19 +40,20 @@
#pragma once
#include <stdint.h>
+#include <unistd.h>
namespace px4
{
-void init(int argc, char *argv[], const char *process_name);
+__EXPORT void init(int argc, char *argv[], const char *process_name);
-uint64_t get_time_micros();
+__EXPORT uint64_t get_time_micros();
-bool ok();
+__EXPORT bool ok();
-void spin_once();
+__EXPORT void spin_once();
-void spin();
+__EXPORT void spin();
class Rate
{