1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-18 03:52:11 +01:00

OP-699 : removed unnecessary object queue in pathplanner

This commit is contained in:
Corvus Corax 2012-11-05 10:34:44 +01:00
parent e5ab038a89
commit 4367bd62bf

View File

@ -76,7 +76,6 @@ static uint8_t conditionImmediate();
// Private variables // Private variables
static xTaskHandle taskHandle; static xTaskHandle taskHandle;
static xQueueHandle queue;
static PathPlannerSettingsData pathPlannerSettings; static PathPlannerSettingsData pathPlannerSettings;
static WaypointActiveData waypointActive; static WaypointActiveData waypointActive;
static WaypointData waypoint; static WaypointData waypoint;
@ -115,9 +114,6 @@ int32_t PathPlannerInitialize()
WaypointInitialize(); WaypointInitialize();
WaypointActiveInitialize(); WaypointActiveInitialize();
// Create object queue
queue = xQueueCreate(MAX_QUEUE_SIZE, sizeof(UAVObjEvent));
return 0; return 0;
} }