Rev 304 | Rev 513 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 304 | Rev 395 | ||
---|---|---|---|
Line 21... | Line 21... | ||
21 | 21 | ||
22 | #define F_CPU SYSCLK |
22 | #define F_CPU SYSCLK |
23 | //#ifndef F_CPU |
23 | //#ifndef F_CPU |
24 | //#error ################## F_CPU nicht definiert oder ungültig ############# |
24 | //#error ################## F_CPU nicht definiert oder ungültig ############# |
25 | //#endif |
- | |
26 | 25 | //#endif |
|
Line 27... | Line -... | ||
27 | //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
- | |
28 | - | ||
29 | //#define ANZ_MITTELWERT 4 |
26 | //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
30 | 27 | ||
31 | #define EEPROM_ADR_VALID 1 |
28 | #define EEPROM_ADR_VALID 1 |
Line 32... | Line 29... | ||
32 | #define EEPROM_ADR_ACTIVE_SET 2 |
29 | #define EEPROM_ADR_ACTIVE_SET 2 |
Line 33... | Line 30... | ||
33 | #define EEPROM_ADR_LAST_OFFSET 3 |
30 | #define EEPROM_ADR_LAST_OFFSET 3 |
34 | 31 | ||
35 | #define EEPROM_ADR_PARAM_BEGIN 100 |
32 | #define EEPROM_ADR_PARAM_BEGIN 100 |
36 | 33 | ||
37 | #define CFG_HOEHENREGELUNG 0x01 |
34 | #define CFG_HOEHENREGELUNG 0x01 |
38 | #define CFG_HOEHEN_SCHALTER 0x02 |
35 | #define CFG_HOEHEN_SCHALTER 0x02 |
- | 36 | #define CFG_HEADING_HOLD 0x04 |
|
- | 37 | #define CFG_KOMPASS_AKTIV 0x08 |
|
Line 39... | Line 38... | ||
39 | #define CFG_HEADING_HOLD 0x04 |
38 | #define CFG_KOMPASS_FIX 0x10 |
40 | #define CFG_KOMPASS_AKTIV 0x08 |
39 | #define CFG_GPS_AKTIV 0x20 |
41 | #define CFG_KOMPASS_FIX 0x10 |
40 | #define CFG_ACHSENKOPPLUNG_AKTIV 0x40 |
42 | #define CFG_GPS_AKTIV 0x20 |
41 | #define CFG_DREHRATEN_BEGRENZER 0x80 |
Line 67... | Line 66... | ||
67 | #include <avr/boot.h> |
66 | #include <avr/boot.h> |
68 | #include <avr/wdt.h> |
67 | #include <avr/wdt.h> |
Line 69... | Line 68... | ||
69 | 68 | ||
Line 70... | Line 69... | ||
70 | #include "old_macros.h" |
69 | #include "old_macros.h" |
71 | 70 | ||
72 | #include "_settings.h" |
71 | #include "_Settings.h" |
73 | #include "printf_P.h" |
72 | #include "printf_P.h" |
74 | #include "timer0.h" |
73 | #include "timer0.h" |
75 | #include "uart.h" |
74 | #include "uart.h" |