aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/hil/hil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/hil/hil.cpp')
-rw-r--r--src/drivers/hil/hil.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/drivers/hil/hil.cpp b/src/drivers/hil/hil.cpp
index 961ec4724..a82dec8ac 100644
--- a/src/drivers/hil/hil.cpp
+++ b/src/drivers/hil/hil.cpp
@@ -48,7 +48,7 @@
* driver. Use instead the normal FMU or IO driver.
*/
-#include <nuttx/config.h>
+#include <px4_tasks.h>
#include <sys/types.h>
#include <stdint.h>
@@ -188,7 +188,7 @@ HIL::~HIL()
/* if we have given up, kill it */
if (--i == 0) {
- task_delete(_task);
+ px4_task_delete(_task);
break;
}
@@ -228,7 +228,7 @@ HIL::init()
// gpio_reset();
/* start the HIL interface task */
- _task = task_spawn_cmd("fmuhil",
+ _task = px4_task_spawn_cmd("fmuhil",
SCHED_DEFAULT,
SCHED_PRIORITY_DEFAULT,
1200,