mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-30 04:06:33 +08:00
require MODULE_NAME
This commit is contained in:
@@ -75,6 +75,7 @@
|
||||
#include "px4_daemon/server.h"
|
||||
#include "px4_daemon/pxh.h"
|
||||
|
||||
#define MODULE_NAME "px4"
|
||||
|
||||
static const char *LOCK_FILE_PATH = "/tmp/px4_lock";
|
||||
|
||||
|
||||
@@ -52,6 +52,7 @@ add_library(px4_layer
|
||||
drv_hrt.c
|
||||
${SHMEM_SRCS}
|
||||
)
|
||||
target_compile_definitions(px4_layer PRIVATE MODULE_NAME="px4")
|
||||
target_link_libraries(px4_layer PRIVATE work_queue)
|
||||
target_link_libraries(px4_layer PRIVATE px4_daemon)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user