mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-29 15:04:06 +08:00
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:
parent
a0d58552a0
commit
35e6822d95
@ -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,
|
||||
|
||||
@ -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…
x
Reference in New Issue
Block a user