From 9a8e6de7fe900fc78967e854238dbde9f4265134 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Wed, 7 Sep 2016 22:05:50 +0200 Subject: [PATCH] EKF2: Remove QuRT hackery --- src/modules/ekf2/ekf2_main.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/modules/ekf2/ekf2_main.cpp b/src/modules/ekf2/ekf2_main.cpp index 4690079cff..ea7e41e1a3 100644 --- a/src/modules/ekf2/ekf2_main.cpp +++ b/src/modules/ekf2/ekf2_main.cpp @@ -1029,19 +1029,11 @@ int Ekf2::start() { ASSERT(_control_task == -1); -#ifdef __PX4_QURT - // On the DSP we seem to get random crashes with a stack size below 13000. - const unsigned stack_size = 15000; -#else - const unsigned stack_size = 6000; -#endif - - /* start the task */ _control_task = px4_task_spawn_cmd("ekf2", SCHED_DEFAULT, SCHED_PRIORITY_MAX - 5, - stack_size, + 6000, (px4_main_t)&Ekf2::task_main_trampoline, nullptr);