Subversion Repositories FlightCtrl

Rev

Rev 1077 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1077 Rev 1078
Line 14... Line 14...
14
 
14
 
Line 15... Line 15...
15
#define F_CPU SYSCLK
15
#define F_CPU SYSCLK
16
 
16
 
17
 
17
 
18
// neue Hardware
18
// neue Hardware
19
#define RED_OFF   {if(BoardRelease == 10) PORTB &=~(1<<PORTB0); else  PORTB |= (1<<PORTB0);}
19
#define RED_OFF   {if((BoardRelease == 10)||(BoardRelease == 20)) PORTB &=~(1<<PORTB0); else  PORTB |= (1<<PORTB0);}
20
#define RED_ON    {if(BoardRelease == 10) PORTB |= (1<<PORTB0); else  PORTB &=~(1<<PORTB0);}
20
#define RED_ON    {if((BoardRelease == 10)||(BoardRelease == 20)) PORTB |= (1<<PORTB0); else  PORTB &=~(1<<PORTB0);}
21
#define RED_FLASH PORTB ^= (1<<PORTB0)
21
#define RED_FLASH PORTB ^= (1<<PORTB0)