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