mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-22 09:07:35 +08:00
initial board and platform support for the ModalAI VOXL 2 (POSIX + QuRT)
This commit is contained in:
@@ -91,11 +91,13 @@
|
||||
/* We can't poison clock_settime/clock_gettime because they are
|
||||
* used in DriverFramework. */
|
||||
|
||||
#if !defined(__PX4_NUTTX)
|
||||
#if !defined(__PX4_NUTTX) && !defined(__PX4_QURT)
|
||||
#include <pthread.h>
|
||||
// We can't include this for NuttX otherwise we get conflicts for read/write
|
||||
// symbols in cannode.
|
||||
#endif // !defined(__PX4_NUTTX)
|
||||
// We can't include this for Qurt because it uses it's own thread primitives
|
||||
#endif // !defined(__PX4_NUTTX) && !defined(__PX4_QURT)
|
||||
#define system_pthread_cond_timedwait pthread_cond_timedwait
|
||||
/* We can't poison pthread_cond_timedwait because it seems to be used in the
|
||||
* <string> include. */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user