mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 00:23:34 +08:00
QuRT: added #include<px4_time.h> to posix unit tests
QuRT does not define usleep and sleep, so they are stubbed out for now. Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -39,6 +39,7 @@
|
||||
* @author Mark Charlebois <charlebm@gmail.com>
|
||||
*/
|
||||
|
||||
#include <px4_time.h>
|
||||
#include <drivers/drv_hrt.h>
|
||||
#include "hrt_test.h"
|
||||
#include <unistd.h>
|
||||
|
||||
@@ -40,6 +40,7 @@
|
||||
*/
|
||||
|
||||
#include <px4_tasks.h>
|
||||
#include <px4_time.h>
|
||||
#include "vcdevtest_example.h"
|
||||
#include <drivers/drv_device.h>
|
||||
#include <drivers/device/device.h>
|
||||
|
||||
@@ -39,6 +39,7 @@
|
||||
* @author Mark Charlebois <charlebm@gmail.com>
|
||||
*/
|
||||
|
||||
#include <px4_time.h>
|
||||
#include <px4_workqueue.h>
|
||||
#include "wqueue_test.h"
|
||||
#include <unistd.h>
|
||||
|
||||
Reference in New Issue
Block a user