diff --git a/conf/firmwares/subsystems/fixedwing/autopilot.makefile b/conf/firmwares/subsystems/fixedwing/autopilot.makefile index f47101b5a0..c915ba7d93 100644 --- a/conf/firmwares/subsystems/fixedwing/autopilot.makefile +++ b/conf/firmwares/subsystems/fixedwing/autopilot.makefile @@ -69,14 +69,17 @@ $(TARGET).srcs += $(SRC_FIXEDWING)/inter_mcu.c # # Math functions # +ifneq ($(TARGET),fbw) $(TARGET).srcs += math/pprz_geodetic_int.c math/pprz_geodetic_float.c math/pprz_geodetic_double.c math/pprz_trig_int.c math/pprz_orientation_conversion.c math/pprz_algebra_int.c math/pprz_algebra_float.c math/pprz_algebra_double.c +endif # # I2C # +ifneq ($(TARGET),fbw) $(TARGET).srcs += mcu_periph/i2c.c $(TARGET).srcs += $(SRC_ARCH)/mcu_periph/i2c_arch.c - +endif ###################################################################### ##