mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-26 16:30:07 +08:00
Added -DUSE_I2C2 to lisa/m rotorcraft as it is used for the on board barometer and for consistency.
This commit is contained in:
@@ -142,6 +142,8 @@ ap.srcs += $(SRC_BOARD)/baro_board.c
|
||||
ifeq ($(BOARD), booz)
|
||||
else ifeq ($(BOARD), lisa_l)
|
||||
ap.CFLAGS += -DUSE_I2C2
|
||||
else ifeq ($(BOARD), lisa_m)
|
||||
ap.CFLAGS += -DUSE_I2C2
|
||||
else ifeq ($(BOARD), navgo)
|
||||
ap.CFLAGS += -DUSE_I2C1
|
||||
ap.CFLAGS += -DADS1114_I2C_DEVICE=i2c1
|
||||
|
||||
Reference in New Issue
Block a user