add event makros for ets sensors again to prevent unnecessary function calls

This commit is contained in:
Felix Ruess
2010-11-01 20:53:42 +00:00
parent fe980a0943
commit e67bfff08d
7 changed files with 99 additions and 101 deletions
+1 -1
View File
@@ -16,7 +16,7 @@
<periodic fun="airspeed_adc_update()" freq="10."/>
<makefile>
<file name="airspeed_adc.c"/>
<file name="airspeed_adc.c"/>
</makefile>
<makefile target="ap">
<flag name="ADC_CHANNEL_AIRSPEED" value="$(ADC_AIRSPEED)"/>
+1 -1
View File
@@ -16,7 +16,7 @@
</header>
<init fun="airspeed_ets_init()"/>
<periodic fun="airspeed_ets_read_periodic()" freq="10."/>
<event fun="airspeed_ets_event()"/>
<event fun="AirspeedEtsEvent()"/>
<makefile>
<file name="airspeed_ets.c"/>
+1 -1
View File
@@ -12,7 +12,7 @@
</header>
<init fun="baro_ets_init()"/>
<periodic fun="baro_ets_read_periodic()" freq="10."/>
<event fun="baro_ets_event()"/>
<event fun="BaroEtsEvent()"/>
<makefile>
<file name="baro_ets.c"/>