From 437041f3023f7db3bc6c26071507d888365ae438 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Tue, 5 Apr 2016 15:30:51 -0700 Subject: [PATCH] POSIX API extensions --- src/platforms/px4_posix.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/platforms/px4_posix.h b/src/platforms/px4_posix.h index e0d925d0c0..e1b9f3c149 100644 --- a/src/platforms/px4_posix.h +++ b/src/platforms/px4_posix.h @@ -169,4 +169,14 @@ __EXPORT const char *px4_get_device_names(unsigned int *handle); __EXPORT void px4_show_topics(void); __EXPORT const char *px4_get_topic_names(unsigned int *handle); + +#ifndef __PX4_QURT +/* + * The UNIX epoch system time following the system clock + */ +__EXPORT unsigned long long hrt_system_time(void); + +__EXPORT bool px4_exit_requested(void); +#endif + __END_DECLS