mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-05 15:30:08 +08:00
4de4dcb1fa
add airspeed_ads1114 module modify baro_board module (baro for umarim) to use airspeed when airspeed_ads1114 is loaded
20 lines
613 B
XML
20 lines
613 B
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
|
|
<module name="baro_board" dir="sensors">
|
|
<header>
|
|
<file name="baro_board_module.h"/>
|
|
</header>
|
|
<init fun="baro_init()"/>
|
|
<periodic fun="baro_periodic()" freq="60."/>
|
|
<periodic fun="baro_downlink_raw()" freq="10." autorun="FALSE"/>
|
|
<event fun="BaroEvent(baro_abs,baro_diff)"/>
|
|
<makefile target="ap">
|
|
<define name="USE_BARO_AS_ALTIMETER"/>
|
|
<file name="baro_board.c" dir="boards/$(BOARD)"/>
|
|
<define name="ADS1114_I2C_DEVICE" value="i2c1"/>
|
|
<define name="USE_ADS1114_1"/>
|
|
<file name="ads1114.c" dir="peripherals"/>
|
|
</makefile>
|
|
</module>
|
|
|