mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-04 13:55:40 +08:00
baro_board module for lisa/l: USE_I2C2
This commit is contained in:
@@ -20,6 +20,8 @@ else ifeq ($(BOARD), umarim)
|
|||||||
ap.CFLAGS += -DUSE_I2C1 -DUSE_ADS1114_1
|
ap.CFLAGS += -DUSE_I2C1 -DUSE_ADS1114_1
|
||||||
ap.CFLAGS += -DADS1114_I2C_DEVICE=i2c1
|
ap.CFLAGS += -DADS1114_I2C_DEVICE=i2c1
|
||||||
ap.srcs += peripherals/ads1114.c
|
ap.srcs += peripherals/ads1114.c
|
||||||
|
else ifeq ($(BOARD), lisa_l)
|
||||||
|
ap.CFLAGS += -DUSE_I2C2
|
||||||
endif
|
endif
|
||||||
</raw>
|
</raw>
|
||||||
</makefile>
|
</makefile>
|
||||||
|
|||||||
Reference in New Issue
Block a user