forked from Archive/PX4-Autopilot
GPS: Remove excessive stack allocation
This commit is contained in:
parent
f7dd0d119b
commit
5b23345b0f
|
@ -229,7 +229,7 @@ GPS::init()
|
|||
|
||||
/* start the GPS driver worker task */
|
||||
_task = px4_task_spawn_cmd("gps", SCHED_DEFAULT,
|
||||
SCHED_PRIORITY_SLOW_DRIVER, 1500, (main_t)&GPS::task_main_trampoline, nullptr);
|
||||
SCHED_PRIORITY_SLOW_DRIVER, 1200, (main_t)&GPS::task_main_trampoline, nullptr);
|
||||
|
||||
if (_task < 0) {
|
||||
warnx("task start failed: %d", errno);
|
||||
|
|
Loading…
Reference in New Issue