From 928a31b59a9e2eae9400e8ca7308d9167b6f0ff9 Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Thu, 11 Feb 2016 18:03:57 +0100 Subject: [PATCH] QURT: use drv_hrt.c from POSIX --- src/platforms/posix/px4_layer/drv_hrt.c | 2 ++ src/platforms/qurt/px4_layer/CMakeLists.txt | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/platforms/posix/px4_layer/drv_hrt.c b/src/platforms/posix/px4_layer/drv_hrt.c index e4e528e8cb..a08c152477 100644 --- a/src/platforms/posix/px4_layer/drv_hrt.c +++ b/src/platforms/posix/px4_layer/drv_hrt.c @@ -38,6 +38,8 @@ */ #include +#include +#include #include #include #include diff --git a/src/platforms/qurt/px4_layer/CMakeLists.txt b/src/platforms/qurt/px4_layer/CMakeLists.txt index 349ac26743..6196d1d43f 100644 --- a/src/platforms/qurt/px4_layer/CMakeLists.txt +++ b/src/platforms/qurt/px4_layer/CMakeLists.txt @@ -33,11 +33,11 @@ include_directories(${HEXAGON_SDK_ROOT}/lib/common/qurt/ADSPv5MP/include) -set(QURT_LAYER_SRCS +set(QURT_LAYER_SRCS px4_qurt_impl.cpp px4_qurt_tasks.cpp lib_crc32.c - drv_hrt.c + ../../posix/px4_layer/drv_hrt.c qurt_stubs.c main.cpp params.c @@ -61,4 +61,4 @@ px4_add_module( DEPENDS platforms__common ) -# vim: set noet ft=cmake fenc=utf-8 ff=unix : +# vim: set noet ft=cmake fenc=utf-8 ff=unix :