mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-24 16:01:53 +08:00
platforms: fix main function signature
This commit is contained in:
1 parent
f1339038ca
commit
78d3986013
1 file changed
+3
-1
@@ -171,7 +171,7 @@ static void *WorkQueueRunner(void *context)
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
static void WorkQueueManagerRun()
|
||||
static int WorkQueueManagerRun(int, char **)
|
||||
{
|
||||
_wq_manager_wqs_list = new BlockingList<WorkQueue *>();
|
||||
_wq_manager_create_queue = new BlockingQueue<const wq_config_t *, 1>();
|
||||
@@ -246,6 +246,8 @@ static void WorkQueueManagerRun()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int WorkQueueManagerStart()
|
||||
|
||||
Reference in new issue
Block a user