mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-28 09:58:23 +08:00
attempt to get pwm_input and xtend_rssi module working:
* added pwm_input.c and pwm_input_arch.c to sources * make pwm_input_isr normal void functions for now * define PWM_INPUT_ITx to zero if not used
This commit is contained in:
committed by
Stephen Dwyer
parent
3154730a7b
commit
fff2dabbb8
@@ -12,11 +12,12 @@
|
||||
</header>
|
||||
<init fun="xtend_rssi_init()"/>
|
||||
<periodic fun="xtend_rssi_periodic()" freq="2."/>
|
||||
<makefile>
|
||||
<file name="xtend_rssi.c"/>
|
||||
</makefile>
|
||||
<makefile target="ap">
|
||||
<file name="xtend_rssi.c"/>
|
||||
<file name="pwm_input.c" dir="mcu_periph"/>
|
||||
<file_arch name="pwm_input_arch.c" dir="mcu_periph"/>
|
||||
<define name="XTEND_RSSI_PWM_INPUT_CHANNEL" value="$(XTEND_RSSI_PWM_INPUT_CHANNEL)"/>
|
||||
<define name="USE_PWM_INPUT"/>
|
||||
<define name="USE_PWM_INPUT$(XTEND_RSSI_PWM_INPUT_CHANNEL)" value="PWM_PULSE_TYPE_ACTIVE_HIGH"/>
|
||||
</makefile>
|
||||
</module>
|
||||
|
||||
Reference in New Issue
Block a user