From 5b23345b0ffde7064b8556b4c38e0118242bec5c Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Sat, 10 Oct 2015 17:06:38 +0200 Subject: [PATCH] GPS: Remove excessive stack allocation --- src/drivers/gps/gps.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/gps/gps.cpp b/src/drivers/gps/gps.cpp index 6c4b4eab7a..35ee8658a0 100644 --- a/src/drivers/gps/gps.cpp +++ b/src/drivers/gps/gps.cpp @@ -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);