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:
Mark Charlebois 2015-05-07 14:40:31 -07:00
parent 8caefc183d
commit 8dfb09418b
3 changed files with 3 additions and 0 deletions

View File

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

View File

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

View File

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