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:
parent
e5ab038a89
commit
4367bd62bf
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user