posix px4_layer: fix linking error on QURT

This commit is contained in:
Julian Oes 2016-04-25 14:25:19 +02:00 committed by Lorenz Meier
parent c975d01200
commit ee57055b99

View File

@ -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);