mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-12 22:47:35 +08:00
platforms: fix main function signature
This commit is contained in:
@@ -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