mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
683037ad95
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>
22 lines
578 B
XML
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>
|
|
|