diff --git a/conf/autopilot/subsystems/rotorcraft/imu_crista_hmc5843.makefile b/conf/autopilot/subsystems/rotorcraft/imu_crista_hmc5843.makefile index b394167c8c..bbb1c2ea0a 100644 --- a/conf/autopilot/subsystems/rotorcraft/imu_crista_hmc5843.makefile +++ b/conf/autopilot/subsystems/rotorcraft/imu_crista_hmc5843.makefile @@ -67,6 +67,7 @@ imu_srcs += $(SRC_ARCH)/subsystems/imu/imu_crista_arch.c imu_srcs += peripherals/hmc5843.c imu_srcs += $(SRC_ARCH)/peripherals/hmc5843_arch.c +imu_srcs += -DUSE_HMC5843 ifeq ($(ARCH), lpc21) imu_CFLAGS += -DUSE_I2C1