mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-15 08:20:34 +08:00
Simulator: refactored mavlink additions
QuRT does not support UDP so moved the mavlink specific code to a new file that is not built for the qurt target Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -39,6 +39,10 @@ MODULE_COMMAND = simulator
|
||||
|
||||
SRCS = simulator.cpp
|
||||
|
||||
ifneq ($(PX4_TARGET_OS), qurt)
|
||||
SRCS += simulator_mavlink.cpp
|
||||
endif
|
||||
|
||||
INCLUDE_DIRS += $(MAVLINK_SRC)/include/mavlink
|
||||
|
||||
EXTRACXXFLAGS = -Weffc++ -Wno-attributes -Wno-packed
|
||||
|
||||
Reference in New Issue
Block a user