mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-09 04:21:36 +08:00
The px4_userspace_init function in this library is called from userspace entrypoint before starting NSH Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
17 lines
302 B
C++
17 lines
302 B
C++
#include <drivers/drv_hrt.h>
|
|
#include <lib/parameters/param.h>
|
|
#include <px4_platform_common/px4_work_queue/WorkQueueManager.hpp>
|
|
#include <uORB/uORB.h>
|
|
#include <sys/boardctl.h>
|
|
|
|
extern "C" void px4_userspace_init(void)
|
|
{
|
|
hrt_init();
|
|
|
|
param_init();
|
|
|
|
px4::WorkQueueManagerStart();
|
|
|
|
uorb_start();
|
|
}
|