diff --git a/Makefile b/Makefile index 28c8b6f321..b9a8e3b11f 100644 --- a/Makefile +++ b/Makefile @@ -38,7 +38,7 @@ MAKE=make all: static ac1 ac2 -static : lib tools configurator cockpit tmtc visu3d logalizer sim_static wind static_h +static : lib tools configurator cockpit tmtc visu3d logalizer sim_static wind static_h multimon ac1 : make AIRCRAFT=Thon1 ac diff --git a/sw/airborne/fly_by_wire/main.c b/sw/airborne/fly_by_wire/main.c index 58703b1703..98980f6c34 100644 --- a/sw/airborne/fly_by_wire/main.c +++ b/sw/airborne/fly_by_wire/main.c @@ -22,7 +22,7 @@ * */ -#define LED_DEBUG + #include #include @@ -30,9 +30,7 @@ #include -#ifdef LED_DEBUG -#include "led.h" -#endif + #include "timer.h" #include "servo.h" @@ -146,15 +144,10 @@ int main( void ) imu_init(); #endif timer_init(); -#if defined LED_DEBUG - LEDS_INIT(); - RED_LED_ON(); - GREEN_LED_ON(); - YELLOW_LED_ON(); -#else + servo_init(); ppm_init(); -#endif + spi_init(); sei(); while( 1 ) {