Subversion Repositories FlightCtrl

Rev

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

Rev 1298 Rev 1309
Line 27... Line 27...
27
#define F_CPU SYSCLK
27
#define F_CPU SYSCLK
28
//#ifndef F_CPU
28
//#ifndef F_CPU
29
//#error ################## F_CPU nicht definiert oder ungültig #############
29
//#error ################## F_CPU nicht definiert oder ungültig #############
30
//#endif
30
//#endif
31
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
31
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
32
#define EE_DATENREVISION 78 // wird angepasst, wenn sich die EEPROM-Daten geändert haben
32
#define EE_DATENREVISION 79 // wird angepasst, wenn sich die EEPROM-Daten geändert haben
33
#define MIXER_REVISION    1 // wird angepasst, wenn sich die Mixer-Daten geändert haben
33
#define MIXER_REVISION    1 // wird angepasst, wenn sich die Mixer-Daten geändert haben
Line 34... Line 34...
34
 
34
 
35
#define EEPROM_ADR_VALID            1
35
#define EEPROM_ADR_VALID            1
36
#define EEPROM_ADR_ACTIVE_SET       2
36
#define EEPROM_ADR_ACTIVE_SET       2
Line 56... Line 56...
56
#define CFG_KOMPASS_FIX          0x10
56
#define CFG_KOMPASS_FIX          0x10
57
#define CFG_GPS_AKTIV            0x20
57
#define CFG_GPS_AKTIV            0x20
58
#define CFG_ACHSENKOPPLUNG_AKTIV 0x40
58
#define CFG_ACHSENKOPPLUNG_AKTIV 0x40
59
#define CFG_DREHRATEN_BEGRENZER  0x80
59
#define CFG_DREHRATEN_BEGRENZER  0x80
Line 60... Line 60...
60
 
60
 
61
#define CFG_LOOP_OBEN       0x01
61
#define CFG_LOOP_OBEN            0x01
62
#define CFG_LOOP_UNTEN      0x02
62
#define CFG_LOOP_UNTEN           0x02
63
#define CFG_LOOP_LINKS      0x04
63
#define CFG_LOOP_LINKS           0x04
64
#define CFG_LOOP_RECHTS     0x08
64
#define CFG_LOOP_RECHTS          0x08
65
#define CFG_MOTOR_BLINK     0x10
65
#define CFG_MOTOR_BLINK          0x10
66
#define CFG_RES2                    0x20
66
#define CFG_RES2                         0x20
67
#define CFG_RES3                    0x40
67
#define CFG_RES3                         0x40
-
 
68
#define CFG_RES4                         0x80
-
 
69
 
-
 
70
#define CFG2_HEIGHT_LIMIT        0x01
-
 
71
#define CFG2_VARIO_BEEP          0x02
Line 68... Line 72...
68
#define CFG_RES4                    0x80
72
#define CFG_SENSITIVE_RC         0x04
69
 
73
 
70
#define J3High    PORTD |= 0x20
74
#define J3High    PORTD |= 0x20
71
#define J3Low     PORTD &= ~0x20
75
#define J3Low     PORTD &= ~0x20