mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
uORB move to PX4 platform layer
This commit is contained in:
@@ -70,7 +70,7 @@ else()
|
||||
target_link_libraries(px4 PRIVATE rt)
|
||||
endif()
|
||||
|
||||
target_link_libraries(px4 PRIVATE modules__uORB)
|
||||
target_link_libraries(px4 PRIVATE uORB)
|
||||
|
||||
#=============================================================================
|
||||
# install
|
||||
|
||||
@@ -37,6 +37,7 @@
|
||||
#include <drivers/drv_hrt.h>
|
||||
#include <lib/parameters/param.h>
|
||||
#include <px4_platform_common/px4_work_queue/WorkQueueManager.hpp>
|
||||
#include <uORB/uORB.h>
|
||||
|
||||
int px4_platform_init(void)
|
||||
{
|
||||
@@ -46,5 +47,9 @@ int px4_platform_init(void)
|
||||
|
||||
px4::WorkQueueManagerStart();
|
||||
|
||||
uorb_start();
|
||||
|
||||
px4_log_initialize();
|
||||
|
||||
return PX4_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user