Rev 1435 | Rev 1481 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1435 | Rev 1438 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #ifndef _MAIN_H |
1 | #ifndef _MAIN_H |
2 | #define _MAIN_H |
2 | #define _MAIN_H |
Line 3... | Line 3... | ||
3 | 3 | ||
Line -... | Line 4... | ||
- | 4 | #define QUADRO |
|
- | 5 | ||
4 | #define QUADRO |
6 | //#define ACT_S3D_SUMMENSIGNAL |
5 | 7 | ||
6 | // neue Hardware |
8 | // neue Hardware |
7 | #define ROT_OFF {if((PlatinenVersion == 10)||(PlatinenVersion == 20)) PORTB &=~0x01; else PORTB |= 0x01;} |
9 | #define ROT_OFF {if((PlatinenVersion == 10)||(PlatinenVersion == 20)) PORTB &=~0x01; else PORTB |= 0x01;} |
8 | #define ROT_ON {if((PlatinenVersion == 10)||(PlatinenVersion == 20)) PORTB |= 0x01; else PORTB &=~0x01;} |
10 | #define ROT_ON {if((PlatinenVersion == 10)||(PlatinenVersion == 20)) PORTB |= 0x01; else PORTB &=~0x01;} |
Line 83... | Line 85... | ||
83 | #include <avr/interrupt.h> |
85 | #include <avr/interrupt.h> |
84 | #include <avr/eeprom.h> |
86 | #include <avr/eeprom.h> |
85 | #include <avr/boot.h> |
87 | #include <avr/boot.h> |
86 | #include <avr/wdt.h> |
88 | #include <avr/wdt.h> |
Line -... | Line 89... | ||
- | 89 | ||
87 | 90 | ||
Line 88... | Line 91... | ||
88 | #include "old_macros.h" |
91 | #include "old_macros.h" |
89 | 92 | ||
90 | #include "_Settings.h" |
93 | #include "_Settings.h" |
Line 101... | Line 104... | ||
101 | #include "led.h" |
104 | #include "led.h" |
102 | #include "spektrum.h" |
105 | #include "spektrum.h" |
103 | #include "libfc.h" |
106 | #include "libfc.h" |
Line -... | Line 107... | ||
- | 107 | ||
104 | 108 | ||
105 | 109 | ||
106 | #ifndef EEMEM |
110 | #ifndef EEMEM |
Line 107... | Line 111... | ||
107 | #define EEMEM __attribute__ ((section (".eeprom"))) |
111 | #define EEMEM __attribute__ ((section (".eeprom"))) |