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:
parent
a4e0ee5fdf
commit
ee4ca7b93a
@ -70,7 +70,7 @@
|
|||||||
#include "pios_opahrs_proto.h"
|
#include "pios_opahrs_proto.h"
|
||||||
|
|
||||||
// Private constants
|
// Private constants
|
||||||
#define STACK_SIZE 400
|
#define STACK_SIZE 450
|
||||||
#define TASK_PRIORITY (tskIDLE_PRIORITY+4)
|
#define TASK_PRIORITY (tskIDLE_PRIORITY+4)
|
||||||
|
|
||||||
// Private types
|
// Private types
|
||||||
|
@ -52,7 +52,7 @@
|
|||||||
|
|
||||||
|
|
||||||
// Private variables
|
// Private variables
|
||||||
static xQueueHandle queue;
|
//static xQueueHandle queue;
|
||||||
static xTaskHandle taskHandle;
|
static xTaskHandle taskHandle;
|
||||||
|
|
||||||
// Private functions
|
// Private functions
|
||||||
@ -73,10 +73,10 @@ float ProcessMixer(const int index, const float curve1, const float curve2,
|
|||||||
int32_t ActuatorInitialize()
|
int32_t ActuatorInitialize()
|
||||||
{
|
{
|
||||||
// Create object queue
|
// Create object queue
|
||||||
queue = xQueueCreate(MAX_QUEUE_SIZE, sizeof(UAVObjEvent));
|
//queue = xQueueCreate(MAX_QUEUE_SIZE, sizeof(UAVObjEvent));
|
||||||
|
|
||||||
// Listen for ExampleObject1 updates
|
// Listen for ExampleObject1 updates
|
||||||
ActuatorDesiredConnectQueue(queue);
|
//ActuatorDesiredConnectQueue(queue);
|
||||||
|
|
||||||
// Start main task
|
// Start main task
|
||||||
xTaskCreate(actuatorTask, (signed char*)"Actuator", STACK_SIZE, NULL, TASK_PRIORITY, &taskHandle);
|
xTaskCreate(actuatorTask, (signed char*)"Actuator", STACK_SIZE, NULL, TASK_PRIORITY, &taskHandle);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user