Files
paparazzi/conf/modules/current_sensor.xml
2016-07-04 21:58:13 +02:00

15 lines
429 B
XML

<!DOCTYPE module SYSTEM "module.dtd">
<module name="current_sensor">
<doc>
<description>
Current sensor via onboard ADC.
</description>
<configure name="ADC_CURRENT_SENSOR" value="ADC_0|ADC_1|ADC_2|ADC_3" description="ADC to use"/>
</doc>
<makefile target="ap">
<define name="ADC_CHANNEL_CURRENT" value="$(ADC_CURRENT_SENSOR)"/>
<define name="USE_$(ADC_CURRENT_SENSOR)"/>
</makefile>
</module>