LED_DEBUG removed

This commit is contained in:
rad
2005-08-24 12:51:42 +00:00
parent a1055a1d97
commit 1eb2d575d9
2 changed files with 5 additions and 12 deletions
+1 -1
View File
@@ -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
+4 -11
View File
@@ -22,7 +22,7 @@
*
*/
#define LED_DEBUG
#include <inttypes.h>
#include <avr/io.h>
@@ -30,9 +30,7 @@
#include <avr/interrupt.h>
#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 ) {