Browse Source

Added missing px4_ prefixes

NuttX build required missing px4_ prefix for systemreset and task_spawn_cmd

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
sbg
Mark Charlebois 10 years ago
parent
commit
35e6822d95
  1. 2
      src/modules/attitude_estimator_q/attitude_estimator_q_main.cpp
  2. 2
      src/systemcmds/tests/test_mount.c

2
src/modules/attitude_estimator_q/attitude_estimator_q_main.cpp

@ -202,7 +202,7 @@ int AttitudeEstimatorQ::start() { @@ -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,

2
src/systemcmds/tests/test_mount.c

@ -288,7 +288,7 @@ test_mount(int argc, char *argv[]) @@ -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;

Loading…
Cancel
Save