mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-02 03:49:12 +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:
@@ -202,7 +202,7 @@ int AttitudeEstimatorQ::start() {
|
|||||||
ASSERT(_control_task == -1);
|
ASSERT(_control_task == -1);
|
||||||
|
|
||||||
/* start the task */
|
/* start the task */
|
||||||
_control_task = task_spawn_cmd("attitude_estimator_q",
|
_control_task = px4_task_spawn_cmd("attitude_estimator_q",
|
||||||
SCHED_DEFAULT,
|
SCHED_DEFAULT,
|
||||||
SCHED_PRIORITY_MAX - 5,
|
SCHED_PRIORITY_MAX - 5,
|
||||||
2500,
|
2500,
|
||||||
|
|||||||
@@ -288,7 +288,7 @@ test_mount(int argc, char *argv[])
|
|||||||
fsync(fileno(stdout));
|
fsync(fileno(stdout));
|
||||||
fsync(fileno(stderr));
|
fsync(fileno(stderr));
|
||||||
usleep(50000);
|
usleep(50000);
|
||||||
systemreset(false);
|
px4_systemreset(false);
|
||||||
|
|
||||||
/* never going to get here */
|
/* never going to get here */
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user