Subversion Repositories FlightCtrl

Rev

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

Rev 173 Rev 304
Line 17... Line 17...
17
#define ROT_FLASH PORTB ^= 0x01
17
#define ROT_FLASH PORTB ^= 0x01
18
#define GRN_OFF   PORTB &=~0x02 
18
#define GRN_OFF   PORTB &=~0x02 
19
#define GRN_ON    PORTB |= 0x02 
19
#define GRN_ON    PORTB |= 0x02 
20
#define GRN_FLASH PORTB ^= 0x02
20
#define GRN_FLASH PORTB ^= 0x02
Line -... Line 21...
-
 
21
 
21
 
22
#define F_CPU SYSCLK
22
//#ifndef F_CPU
23
//#ifndef F_CPU
23
//#error ################## F_CPU nicht definiert oder ungültig #############
24
//#error ################## F_CPU nicht definiert oder ungültig #############
Line 24... Line 25...
24
//#endif
25
//#endif
Line 50... Line 51...
50
extern volatile int i_Nick[20],i_Roll[20],DiffNick,DiffRoll;
51
extern volatile int i_Nick[20],i_Roll[20],DiffNick,DiffRoll;
51
extern volatile unsigned char SenderOkay;
52
extern volatile unsigned char SenderOkay;
52
extern unsigned char CosinusNickWinkel, CosinusRollWinkel;
53
extern unsigned char CosinusNickWinkel, CosinusRollWinkel;
53
extern unsigned char PlatinenVersion;
54
extern unsigned char PlatinenVersion;
Line 54... Line 55...
54
 
55
 
55
extern void ReadParameterSet (unsigned char number, unsigned char *buffer, unsigned char length);
56
void ReadParameterSet (unsigned char number, unsigned char *buffer, unsigned char length);
56
extern void WriteParameterSet(unsigned char number, unsigned char *buffer, unsigned char length);
57
void WriteParameterSet(unsigned char number, unsigned char *buffer, unsigned char length);
57
extern unsigned char GetActiveParamSetNumber(void);
58
extern unsigned char GetActiveParamSetNumber(void);
Line 58... Line 59...
58
extern unsigned char EEPromArray[];
59
extern unsigned char EEPromArray[];
59
 
60
 
Line 76... Line 77...
76
#include "twimaster.h"
77
#include "twimaster.h"
77
#include "menu.h"
78
#include "menu.h"
78
#include "rc.h"
79
#include "rc.h"
79
#include "fc.h"
80
#include "fc.h"
80
#include "gps.h"
81
#include "gps.h"
-
 
82
#include "spi.h"
-
 
83
 
Line 81... Line 84...
81
 
84
 
82
#ifndef EEMEM
85
#ifndef EEMEM
83
#define EEMEM __attribute__ ((section (".eeprom")))
86
#define EEMEM __attribute__ ((section (".eeprom")))