forked from Archive/PX4-Autopilot
move posix/tests/hrt_test to systemcmds/tests/hrt_test
This commit is contained in:
parent
750e66f43b
commit
fecdfe5fbc
|
@ -103,3 +103,5 @@ px4_add_module(
|
|||
pwm_limit
|
||||
version
|
||||
)
|
||||
|
||||
add_subdirectory(hrt_test)
|
||||
|
|
|
@ -31,11 +31,11 @@
|
|||
#
|
||||
############################################################################
|
||||
px4_add_module(
|
||||
MODULE platforms__posix__tests__hrt_test
|
||||
MODULE systemcmds__tests__hrt_test
|
||||
MAIN hrt_test
|
||||
SRCS
|
||||
hrt_test_main.cpp
|
||||
hrt_test_start_posix.cpp
|
||||
hrt_test_start.cpp
|
||||
hrt_test.cpp
|
||||
DEPENDS
|
||||
)
|
|
@ -39,10 +39,12 @@
|
|||
* @author Mark Charlebois <charlebm@gmail.com>
|
||||
*/
|
||||
|
||||
#include "px4_log.h"
|
||||
#include <px4_time.h>
|
||||
#include <drivers/drv_hrt.h>
|
||||
#include "hrt_test.h"
|
||||
|
||||
#include <drivers/drv_hrt.h>
|
||||
#include <px4_log.h>
|
||||
#include <px4_time.h>
|
||||
|
||||
#include <unistd.h>
|
||||
#include <stdio.h>
|
||||
#include <cstring>
|
|
@ -37,10 +37,13 @@
|
|||
*
|
||||
* @author Mark Charlebois <charlebm@gmail.com>
|
||||
*/
|
||||
|
||||
#include "hrt_test.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include <px4_middleware.h>
|
||||
#include <px4_app.h>
|
||||
#include "hrt_test.h"
|
||||
#include <stdio.h>
|
||||
|
||||
int PX4_MAIN(int argc, char **argv)
|
||||
{
|
|
@ -37,13 +37,15 @@
|
|||
* @author Mark Charlebois <mcharleb@gmail.com>
|
||||
*/
|
||||
#include "hrt_test.h"
|
||||
#include <px4_log.h>
|
||||
#include <px4_app.h>
|
||||
#include <px4_tasks.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <sched.h>
|
||||
|
||||
#include <px4_log.h>
|
||||
#include <px4_app.h>
|
||||
#include <px4_tasks.h>
|
||||
|
||||
static int daemon_task; /* Handle of deamon task / thread */
|
||||
|
||||
extern "C" __EXPORT int hrt_test_main(int argc, char *argv[]);
|
Loading…
Reference in New Issue