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:
Stephen Dwyer
2011-11-05 19:58:17 -06:00
parent 43dbba611b
commit 3154730a7b
5 changed files with 7 additions and 5 deletions
+5
View File
@@ -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>
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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