Added missing px4_ prefixes

NuttX build required missing px4_ prefix for systemreset and task_spawn_cmd

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois 2015-05-06 16:25:45 -07:00
parent a0d58552a0
commit 35e6822d95
2 changed files with 2 additions and 2 deletions

View File

@ -202,7 +202,7 @@ int AttitudeEstimatorQ::start() {
ASSERT(_control_task == -1);
/* start the task */
_control_task = task_spawn_cmd("attitude_estimator_q",
_control_task = px4_task_spawn_cmd("attitude_estimator_q",
SCHED_DEFAULT,
SCHED_PRIORITY_MAX - 5,
2500,

View File

@ -288,7 +288,7 @@ test_mount(int argc, char *argv[])
fsync(fileno(stdout));
fsync(fileno(stderr));
usleep(50000);
systemreset(false);
px4_systemreset(false);
/* never going to get here */
return 0;