require MODULE_NAME

This commit is contained in:
Daniel Agar
2018-09-10 12:53:26 -04:00
parent 8d15da379b
commit 246b879aea
9 changed files with 13 additions and 12 deletions
+1
View File
@@ -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)