POSIX: add px4_clock_settime stub for Mac

This commit is contained in:
Julian Oes
2016-02-19 16:59:48 +01:00
parent 740b4556a0
commit 8f26735255
+7
View File
@@ -113,6 +113,12 @@ int px4_clock_gettime(clockid_t clk_id, struct timespec *tp)
return 0;
}
int px4_clock_settime(clockid_t clk_id, struct timespec *tp)
{
/* do nothing right now */
return 0;
}
#elif defined(__QURT)
#include "dspal_time.h"
@@ -121,6 +127,7 @@ int px4_clock_gettime(clockid_t clk_id, struct timespec *tp)
{
return clock_gettime(clk_id, tp);
}
#endif
/*