mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-04 22:17:01 +08:00
fix ocaml sim: with aspirin, only define USE_IMU for ap target
This commit is contained in:
@@ -36,7 +36,11 @@
|
||||
|
||||
# imu aspirin
|
||||
|
||||
IMU_ASPIRIN_CFLAGS = -DUSE_IMU
|
||||
# for fixedwing firmware and ap only
|
||||
ifeq ($(TARGET), ap)
|
||||
IMU_ASPIRIN_CFLAGS = -DUSE_IMU
|
||||
endif
|
||||
|
||||
IMU_ASPIRIN_CFLAGS += -DIMU_TYPE_H=\"imu/imu_aspirin.h\"
|
||||
IMU_ASPIRIN_SRCS = $(SRC_SUBSYSTEMS)/imu.c \
|
||||
$(SRC_SUBSYSTEMS)/imu/imu_aspirin.c \
|
||||
|
||||
Reference in New Issue
Block a user