EKF2: Remove QuRT hackery

This commit is contained in:
Lorenz Meier
2016-09-11 20:07:30 +02:00
parent c52c692c4f
commit 9a8e6de7fe
+1 -9
View File
@@ -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);