mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 03:23:35 +08:00
Fixes for qurt build
Added missing functions that were added for other targets but not for qurt. Added workaround for missing sem_timedwait(). This may have a performance impact until a sem_timedwait is supported. std::to_string is not supported by the hexagon compiler Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
committed by
Lorenz Meier
parent
1edd9d5a9a
commit
5bc2019fd5
@@ -81,7 +81,7 @@ static void hrt_unlock(void)
|
||||
px4_sem_post(&_hrt_lock);
|
||||
}
|
||||
|
||||
#if defined(__APPLE__) && defined(__MACH__)
|
||||
#if (defined(__APPLE__) && defined(__MACH__)) || defined(__PX4_QURT)
|
||||
#include <time.h>
|
||||
#include <sys/time.h>
|
||||
#define CLOCK_REALTIME 0
|
||||
|
||||
Reference in New Issue
Block a user