mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
8be5c426b6
Start working on #940 This replaces ```xml <depend require="foo|bar" conflict="baz"/> ``` with ```xml <depends>foo,bar</depends> <conflicts>baz</conflicts> ``` and now allows to specify OR dependencies with | (pipe) similaro to Debian depends: ```xml <depends>foo,bar,this|that</depends> ``` which would depend on: foo AND bar AND (this OR that)
19 lines
414 B
XML
19 lines
414 B
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
|
|
<module name="px4flow" dir="optical_flow">
|
|
<doc>
|
|
<description>PX4FLOW optical flow sensor</description>
|
|
</doc>
|
|
<depends>mavlink_decoder</depends>
|
|
<header>
|
|
<file name="px4flow.h"/>
|
|
</header>
|
|
<init fun="px4flow_init()"/>
|
|
<periodic fun="px4flow_downlink()" freq="10"/> <!-- for debug -->
|
|
<makefile>
|
|
<file name="px4flow.c"/>
|
|
</makefile>
|
|
</module>
|
|
|
|
|