mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-29 02:38:07 +08:00
changed a few things in xtend_rssi and pwm_input stuff, can't get module to compile properly, sources and headers not being included properly
This commit is contained in:
@@ -196,6 +196,11 @@
|
||||
<modules>
|
||||
<load name="infrared_adc.xml"/>
|
||||
<!-- <load name="pwm_measure.xml"/> -->
|
||||
<load name="airspeed_adc.xml">
|
||||
<configure name="ADC_AIRSPEED" value="1"/>
|
||||
<define name="AIRSPEED_SCALE" value="1"/>
|
||||
<define name="AIRSPEED_BIAS" value="0"/>
|
||||
</load>
|
||||
<load name="xtend_rssi.xml">
|
||||
<configure name="XTEND_RSSI_PWM_INPUT_CHANNEL" value="1"/>
|
||||
</load>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<file name="xtend_rssi.h"/>
|
||||
</header>
|
||||
<init fun="xtend_rssi_init()"/>
|
||||
<periodic fun="xtend_rssi_periodic()" freq="2"/>
|
||||
<periodic fun="xtend_rssi_periodic()" freq="2."/>
|
||||
<makefile>
|
||||
<file name="xtend_rssi.c"/>
|
||||
</makefile>
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
#include "LPC21xx.h"
|
||||
#include "interrupt_hw.h"
|
||||
|
||||
|
||||
//UPDATE THESE TO BE MORE ACCESSIBLE AND BE WARY OF EXISTING USAGE
|
||||
//POSSIBLY MAKE MORE INPUTS ACCESSIBLE
|
||||
#ifdef USE_PWM_INPUT1
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
|
||||
#include "modules/datalink/xtend_rssi.h"
|
||||
#include "mcu_periph/pwm_input.c"
|
||||
#include "mcu_periph/pwm_input.h"
|
||||
#include "sys_time.h"
|
||||
|
||||
#ifndef DOWNLINK_DEVICE
|
||||
|
||||
@@ -36,5 +36,3 @@ void xtend_rssi_init( void );
|
||||
void xtend_rssi_periodic( void );
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user