Rev 436 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 436 | Rev 437 | ||
---|---|---|---|
Line 12... | Line 12... | ||
12 | #endif |
12 | #endif |
Line 13... | Line 13... | ||
13 | 13 | ||
14 | // neue Hardware |
14 | // neue Hardware |
15 | #define ROT_OFF {if(PlatinenVersion == 10) PORTB &=~0x01; else PORTB |= 0x01;} |
15 | #define ROT_OFF {if(PlatinenVersion == 10) PORTB &=~0x01; else PORTB |= 0x01;} |
16 | #define ROT_ON {if(PlatinenVersion == 10) PORTB |= 0x01; else PORTB &=~0x01;} |
16 | #define ROT_ON {if(PlatinenVersion == 10) PORTB |= 0x01; else PORTB &=~0x01;} |
17 | #define ROT_FLASH PORTB ^= 0x01 |
17 | #define ROT_FLASH PORTB ^= (1<<PB0) |
18 | #define GRN_OFF PORTB &=~0x02 |
18 | #define GRN_OFF PORTB &=~(1<<PB1) |
19 | #define GRN_ON PORTB |= 0x02 |
19 | #define GRN_ON PORTB |= (1<<PB1) |
Line 20... | Line 20... | ||
20 | #define GRN_FLASH PORTB ^= 0x02 |
20 | #define GRN_FLASH PORTB ^= (1<<PB1) |
21 | 21 | ||
22 | #define F_CPU SYSCLK |
22 | #define F_CPU SYSCLK |
23 | //#ifndef F_CPU |
23 | //#ifndef F_CPU |
Line 74... | Line 74... | ||
74 | #include "twimaster.h" |
74 | #include "twimaster.h" |
75 | #include "menu.h" |
75 | #include "menu.h" |
76 | #include "rc.h" |
76 | #include "rc.h" |
77 | #include "fc.h" |
77 | #include "fc.h" |
78 | #include "gps.h" |
78 | #include "gps.h" |
79 | - | ||
- | 79 | #include "compass.h" |
|
- | 80 | #include "mymath.h" |
|
Line 80... | Line 81... | ||
80 | 81 | ||
81 | #ifndef EEMEM |
82 | #ifndef EEMEM |
82 | #define EEMEM __attribute__ ((section (".eeprom"))) |
83 | #define EEMEM __attribute__ ((section (".eeprom"))) |