1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-27 16:54:15 +01:00

OP-177 Flight: All alarms fixed, AHRSComms stack size made critical stack alarm, event warning caused by queue that is not used at the moment.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1801 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
sambas 2010-09-29 19:06:35 +00:00 committed by sambas
parent a4e0ee5fdf
commit ee4ca7b93a
2 changed files with 4 additions and 4 deletions

View File

@ -70,7 +70,7 @@
#include "pios_opahrs_proto.h"
// Private constants
#define STACK_SIZE 400
#define STACK_SIZE 450
#define TASK_PRIORITY (tskIDLE_PRIORITY+4)
// Private types

View File

@ -52,7 +52,7 @@
// Private variables
static xQueueHandle queue;
//static xQueueHandle queue;
static xTaskHandle taskHandle;
// Private functions
@ -73,10 +73,10 @@ float ProcessMixer(const int index, const float curve1, const float curve2,
int32_t ActuatorInitialize()
{
// Create object queue
queue = xQueueCreate(MAX_QUEUE_SIZE, sizeof(UAVObjEvent));
//queue = xQueueCreate(MAX_QUEUE_SIZE, sizeof(UAVObjEvent));
// Listen for ExampleObject1 updates
ActuatorDesiredConnectQueue(queue);
//ActuatorDesiredConnectQueue(queue);
// Start main task
xTaskCreate(actuatorTask, (signed char*)"Actuator", STACK_SIZE, NULL, TASK_PRIORITY, &taskHandle);