add freq option to periodic function in modules

This commit is contained in:
Gautier Hattenberger
2009-07-24 10:54:39 +00:00
parent b2099fc84e
commit ade6d90b65
3 changed files with 64 additions and 38 deletions
+1 -1
View File
@@ -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>
+2 -1
View File
@@ -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