Subversion Repositories FlightCtrl

Rev

Rev 2132 | Rev 2139 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2132 Rev 2135
Line 202... Line 202...
202
#define ATMEGA644   0
202
#define ATMEGA644   0
203
#define ATMEGA644P  1
203
#define ATMEGA644P  1
204
#define SYSCLK F_CPU
204
#define SYSCLK F_CPU
Line 205... Line 205...
205
 
205
 
206
// Not really a part of configuration, but LEDs and HW s test are the same.
206
// Not really a part of configuration, but LEDs and HW s test are the same.
207
#define RED_OFF   {PORTD &=~(1<<PORTD6);}
207
#define RED_OFF   {PORTB &=~(1<<PORTB4);}
208
#define RED_ON    {PORTD |= (1<<PORTD6);}
208
#define RED_ON    {PORTB |= (1<<PORTB4);}
209
#define RED_FLASH PORTD ^= (1<<PORTD6)
209
#define RED_FLASH PORTB ^= (1<<PORTB4)
210
#define GRN_OFF   {PORTD &=~(1<<PORTD7);}
210
#define GRN_OFF   {PORTB &=~(1<<PORTB5);}
211
#define GRN_ON    {PORTD |= (1<<PORTD7);}
211
#define GRN_ON    {PORTB |= (1<<PORTB5);}
Line 212... Line 212...
212
#define GRN_FLASH PORTD ^= (1<<PORTD7)
212
#define GRN_FLASH PORTB ^= (1<<PORTB5)
213
 
213
 
214
// Mixer table
214
// Mixer table
215
#define MIX_THROTTLE    0
215
#define MIX_THROTTLE    0