Subversion Repositories FlightCtrl

Rev

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

Rev 1869 Rev 1887
Line 170... Line 170...
170
 
170
 
171
#define ATMEGA644       0
171
#define ATMEGA644       0
172
#define ATMEGA644P      1
172
#define ATMEGA644P      1
Line 173... Line 173...
173
#define SYSCLK F_CPU
173
#define SYSCLK F_CPU
174
 
174
 
175
// Not really a part of configuration, but heck, LEDs and beepers now have a home.
175
// Not really a part of configuration, but LEDs and HW version test are the same.
176
#define RED_OFF   {if((BoardRelease == 10) || (BoardRelease == 20)) PORTB &=~(1<<PORTB0); else  PORTB |= (1<<PORTB0);}
176
#define RED_OFF   {if((BoardRelease == 10) || (BoardRelease == 20)) PORTB &=~(1<<PORTB0); else  PORTB |= (1<<PORTB0);}
177
#define RED_ON    {if((BoardRelease == 10) || (BoardRelease == 20)) PORTB |= (1<<PORTB0); else  PORTB &=~(1<<PORTB0);}
177
#define RED_ON    {if((BoardRelease == 10) || (BoardRelease == 20)) PORTB |= (1<<PORTB0); else  PORTB &=~(1<<PORTB0);}
178
#define RED_FLASH PORTB ^= (1<<PORTB0)
178
#define RED_FLASH PORTB ^= (1<<PORTB0)
Line 193... Line 193...
193
 
193
 
194
void configuration_applyVariablesToParams(void);
194
void configuration_applyVariablesToParams(void);
195
uint8_t getCPUType(void);
195
uint8_t getCPUType(void);
Line 196... Line -...
196
uint8_t getBoardRelease(void);
-
 
197
 
-
 
198
// Not really a part of configuration, but heck, LEDs and beepers now have a home.
-
 
199
void beep(uint16_t millis);
-
 
200
void beepNumber(uint8_t numbeeps);
-
 
201
void beepRCAlarm(void);
-
 
202
void beepI2CAlarm(void);
-
 
203
void beepBatteryAlarm(void);
196
uint8_t getBoardRelease(void);