fix tunnel for booz

This commit is contained in:
Felix Ruess
2011-01-04 20:51:57 +01:00
parent 3f96b52c31
commit c2e69b78c7
3 changed files with 8 additions and 5 deletions
+2 -1
View File
@@ -27,10 +27,11 @@
</subsystem> </subsystem>
</firmware> </firmware>
<firmware name="booz_test_progs"> <firmware name="booz2_test_progs">
<target name="test_telemetry" board="booz_1.0"/> <target name="test_telemetry" board="booz_1.0"/>
<target name="test_baro" board="booz_1.0"/> <target name="test_baro" board="booz_1.0"/>
<target name="test_spektrum" board="booz_1.0"/> <target name="test_spektrum" board="booz_1.0"/>
<target name="tunnel" board="booz_1.0"/>
</firmware> </firmware>
<modules main_freq="512"> <modules main_freq="512">
+2
View File
@@ -22,6 +22,8 @@
# #
# #
include $(PAPARAZZI_SRC)/conf/autopilot/booz2_common.makefile
# #
# test_led : blinks all leds # test_led : blinks all leds
# #
+4 -4
View File
@@ -24,10 +24,10 @@
#include <inttypes.h> #include <inttypes.h>
#include "std.h" #include "std.h"
#include "init_hw.h" #include "mcu.h"
#include "sys_time.h" #include "sys_time.h"
#include "led.h" #include "led.h"
#include "uart.h" #include "mcu_periph/uart.h"
static inline void main_init( void ); static inline void main_init( void );
static inline void main_periodic_task( void ); static inline void main_periodic_task( void );
@@ -44,12 +44,12 @@ int main( void ) {
} }
static inline void main_init( void ) { static inline void main_init( void ) {
hw_init(); mcu_init();
sys_time_init(); sys_time_init();
led_init(); led_init();
uart0_init(); uart0_init();
uart1_init(); uart1_init();
int_enable(); mcu_int_enable();
} }
static inline void main_periodic_task( void ) { static inline void main_periodic_task( void ) {