From ea4e7962a67fba3c0d8476598fa1e2ad39e8a73f Mon Sep 17 00:00:00 2001 From: Corvus Corax Date: Sun, 10 Aug 2014 21:17:55 +0200 Subject: [PATCH] OP-1156 fixed wrong callback ID assignment for pathfollower callback diagnostics --- flight/modules/PathFollower/pathfollower.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flight/modules/PathFollower/pathfollower.c b/flight/modules/PathFollower/pathfollower.c index 93efab3c9..b5d8e9e11 100644 --- a/flight/modules/PathFollower/pathfollower.c +++ b/flight/modules/PathFollower/pathfollower.c @@ -175,7 +175,7 @@ int32_t PathFollowerInitialize() resetIntegrals(); // Create object queue - pathFollowerCBInfo = PIOS_CALLBACKSCHEDULER_Create(&pathFollowerTask, CALLBACK_PRIORITY, CBTASK_PRIORITY, CALLBACKINFO_RUNNING_ALTITUDEHOLD, STACK_SIZE_BYTES); + pathFollowerCBInfo = PIOS_CALLBACKSCHEDULER_Create(&pathFollowerTask, CALLBACK_PRIORITY, CBTASK_PRIORITY, CALLBACKINFO_RUNNING_PATHFOLLOWER, STACK_SIZE_BYTES); FixedWingPathFollowerSettingsConnectCallback(&SettingsUpdatedCb); VtolPathFollowerSettingsConnectCallback(&SettingsUpdatedCb); PathDesiredConnectCallback(SettingsUpdatedCb);