From 0afe6afd11e6cc7a1176a9615a7ff6bbc37fb775 Mon Sep 17 00:00:00 2001 From: Les Newell Date: Wed, 11 Dec 2013 19:24:13 +0000 Subject: [PATCH] OP-984 Fixed insufficient stack for stabilization --- flight/modules/Stabilization/stabilization.c | 2 +- flight/targets/boards/coptercontrol/firmware/inc/pios_config.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/flight/modules/Stabilization/stabilization.c b/flight/modules/Stabilization/stabilization.c index 1f537ee11..a0a2f562d 100644 --- a/flight/modules/Stabilization/stabilization.c +++ b/flight/modules/Stabilization/stabilization.c @@ -69,7 +69,7 @@ #if defined(PIOS_STABILIZATION_STACK_SIZE) #define STACK_SIZE_BYTES PIOS_STABILIZATION_STACK_SIZE #else -#define STACK_SIZE_BYTES 724 +#define STACK_SIZE_BYTES 790 #endif #define TASK_PRIORITY (tskIDLE_PRIORITY + 4) diff --git a/flight/targets/boards/coptercontrol/firmware/inc/pios_config.h b/flight/targets/boards/coptercontrol/firmware/inc/pios_config.h index a8970239b..1f12a568a 100644 --- a/flight/targets/boards/coptercontrol/firmware/inc/pios_config.h +++ b/flight/targets/boards/coptercontrol/firmware/inc/pios_config.h @@ -156,7 +156,7 @@ #define PIOS_ACTUATOR_STACK_SIZE 1020 #define PIOS_MANUAL_STACK_SIZE 800 #define PIOS_SYSTEM_STACK_SIZE 660 -#define PIOS_STABILIZATION_STACK_SIZE 524 +#define PIOS_STABILIZATION_STACK_SIZE 790 #define PIOS_TELEM_STACK_SIZE 800 #define PIOS_EVENTDISPATCHER_STACK_SIZE 130