diff --git a/src/platforms/posix/px4_layer/drv_hrt.c b/src/platforms/posix/px4_layer/drv_hrt.c index c514123e97..9012526613 100644 --- a/src/platforms/posix/px4_layer/drv_hrt.c +++ b/src/platforms/posix/px4_layer/drv_hrt.c @@ -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);