mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-05 06:54:49 +08:00
fix tunnel for booz
This commit is contained in:
@@ -27,10 +27,11 @@
|
||||
</subsystem>
|
||||
</firmware>
|
||||
|
||||
<firmware name="booz_test_progs">
|
||||
<firmware name="booz2_test_progs">
|
||||
<target name="test_telemetry" board="booz_1.0"/>
|
||||
<target name="test_baro" board="booz_1.0"/>
|
||||
<target name="test_spektrum" board="booz_1.0"/>
|
||||
<target name="tunnel" board="booz_1.0"/>
|
||||
</firmware>
|
||||
|
||||
<modules main_freq="512">
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
#
|
||||
#
|
||||
|
||||
include $(PAPARAZZI_SRC)/conf/autopilot/booz2_common.makefile
|
||||
|
||||
#
|
||||
# test_led : blinks all leds
|
||||
#
|
||||
|
||||
@@ -24,10 +24,10 @@
|
||||
#include <inttypes.h>
|
||||
|
||||
#include "std.h"
|
||||
#include "init_hw.h"
|
||||
#include "mcu.h"
|
||||
#include "sys_time.h"
|
||||
#include "led.h"
|
||||
#include "uart.h"
|
||||
#include "mcu_periph/uart.h"
|
||||
|
||||
static inline void main_init( void );
|
||||
static inline void main_periodic_task( void );
|
||||
@@ -44,12 +44,12 @@ int main( void ) {
|
||||
}
|
||||
|
||||
static inline void main_init( void ) {
|
||||
hw_init();
|
||||
mcu_init();
|
||||
sys_time_init();
|
||||
led_init();
|
||||
uart0_init();
|
||||
uart1_init();
|
||||
int_enable();
|
||||
mcu_int_enable();
|
||||
}
|
||||
|
||||
static inline void main_periodic_task( void ) {
|
||||
|
||||
Reference in New Issue
Block a user