Fix stack settings of EKF2

This commit is contained in:
Lorenz Meier
2015-12-23 06:23:16 +01:00
committed by Roman
parent 02652af758
commit 2d50002973
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -32,13 +32,13 @@
#############################################################################
set(MODULE_CFLAGS)
if (${OS} STREQUAL "nuttx")
list(APPEND MODULE_CFLAGS -Wframe-larger-than=60000)
list(APPEND MODULE_CFLAGS -Wframe-larger-than=4000)
endif()
px4_add_module(
MODULE modules__ekf2
MAIN ekf2
COMPILE_FLAGS ${MODULE_CFLAGS}
STACK 60000
STACK 1000
SRCS
ekf2_main.cpp
DEPENDS
+2 -2
View File
@@ -318,7 +318,7 @@ int Ekf2::start()
_control_task = px4_task_spawn_cmd("ekf2",
SCHED_DEFAULT,
SCHED_PRIORITY_MAX - 5,
30000,
9000,
(px4_main_t)&Ekf2::task_main_trampoline,
nullptr);
@@ -374,7 +374,7 @@ int ekf2_main(int argc, char *argv[])
if (!strcmp(argv[1], "print")) {
if (ekf2::instance != nullptr) {
ekf2::instance->print();
return 0;
}