mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-28 22:44:08 +08:00
posix px4_layer: fix linking error on QURT
This commit is contained in:
parent
c975d01200
commit
ee57055b99
@ -118,16 +118,16 @@ int px4_clock_gettime(clockid_t clk_id, struct timespec *tp)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#elif defined(__QURT)
|
||||
|
||||
#include "dspal_time.h"
|
||||
|
||||
int px4_clock_settime(clockid_t clk_id, struct timespec *tp)
|
||||
{
|
||||
/* do nothing right now */
|
||||
return 0;
|
||||
}
|
||||
|
||||
#elif defined(__QURT)
|
||||
|
||||
#include "dspal_time.h"
|
||||
|
||||
int px4_clock_gettime(clockid_t clk_id, struct timespec *tp)
|
||||
{
|
||||
return clock_gettime(clk_id, tp);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user