Files
paparazzi/conf/modules/tcas.xml
T
Gautier Hattenberger 683037ad95 [datalink] parse the correct datalink buffer (#2494)
When using a different datalink buffer than dl_buffer, the callback
functions from the modules must use the buffer address passed as a
parameter, otherwise there is no guarentee that the correct buffer will
be parsed.

Co-authored-by: pprz <xp31@free.fr>
2020-03-16 10:30:38 +01:00

22 lines
578 B
XML

<!DOCTYPE module SYSTEM "module.dtd">
<module name="tcas" dir="multi">
<doc>
<description>TCAS collision avoidance</description>
</doc>
<depends>traffic_info</depends>
<header>
<file name="tcas.h"/>
</header>
<init fun="tcas_init()"/>
<periodic fun="tcas_periodic_task_1Hz()" freq="1"/>
<periodic fun="tcas_periodic_task_4Hz()" freq="4"/>
<datalink message="TCAS_RESOLVE" fun="parseTcasResolve(buf)"/>
<datalink message="TCAS_RA" fun="parseTcasRA(buf)"/>
<makefile>
<file name="tcas.c"/>
<define name="TCAS"/>
</makefile>
</module>