mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-28 01:53:48 +08:00
add freq option to periodic function in modules
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<file name="demo_module.h"/>
|
||||
</header>
|
||||
<init fun="init_demo()"/>
|
||||
<periodic fun="periodic_1Hz_demo()" period="1." start="start_demo()" stop="stop_demo()" autorun="TRUE"/>
|
||||
<periodic fun="periodic_1Hz_demo()" freq="1." start="start_demo()" stop="stop_demo()" autorun="TRUE"/>
|
||||
<periodic fun="periodic_10Hz_demo()" period="0.1" start="start_demo()" stop="stop_demo()" autorun="FALSE"/>
|
||||
<makefile>
|
||||
<raw>
|
||||
|
||||
@@ -27,7 +27,8 @@ fun CDATA #REQUIRED>
|
||||
|
||||
<!ATTLIST periodic
|
||||
fun CDATA #REQUIRED
|
||||
period CDATA #REQUIRED
|
||||
period CDATA #IMPLIED
|
||||
freq CDATA #IMPLIED
|
||||
delay CDATA #IMPLIED
|
||||
start CDATA #IMPLIED
|
||||
stop CDATA #IMPLIED
|
||||
|
||||
Reference in New Issue
Block a user