mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-02-08 20:52:26 +08:00
15 lines
429 B
XML
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>
|