Rev 2032 | Rev 2035 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2032 | Rev 2033 | ||
---|---|---|---|
Line 162... | Line 162... | ||
162 | uint8_t airpressureAccZCorrection; |
162 | uint8_t airpressureAccZCorrection; |
163 | uint8_t heightP; |
163 | uint8_t heightP; |
164 | uint8_t heightI; |
164 | uint8_t heightI; |
165 | uint8_t heightD; |
165 | uint8_t heightD; |
166 | uint8_t heightSetting; |
166 | uint8_t heightSetting; |
167 | uint8_t heightControlMaxIntegralThrottleChange; |
167 | uint8_t heightControlMaxIntegral; |
168 | uint8_t heightControlMaxThrottleChange; |
168 | uint8_t heightControlMaxThrottleChange; |
169 | uint8_t heightSlewRate; |
169 | uint8_t heightSlewRate; |
Line 170... | Line 170... | ||
170 | 170 | ||
171 | // Servos |
171 | // Servos |
Line 213... | Line 213... | ||
213 | 213 | ||
214 | #define ATMEGA644 0 |
214 | #define ATMEGA644 0 |
215 | #define ATMEGA644P 1 |
215 | #define ATMEGA644P 1 |
Line 216... | Line 216... | ||
216 | #define SYSCLK F_CPU |
216 | #define SYSCLK F_CPU |
217 | 217 | ||
218 | // Not really a part of configuration, but LEDs and HW version test are the same. |
218 | // Not really a part of configuration, but LEDs and HW s test are the same. |
219 | #define RED_OFF {if((boardRelease == 10) || (boardRelease == 20)) PORTB &=~(1<<PORTB0); else PORTB |= (1<<PORTB0);} |
219 | #define RED_OFF {if((boardRelease == 10) || (boardRelease == 20)) PORTB &=~(1<<PORTB0); else PORTB |= (1<<PORTB0);} |
220 | #define RED_ON {if((boardRelease == 10) || (boardRelease == 20)) PORTB |= (1<<PORTB0); else PORTB &=~(1<<PORTB0);} |
220 | #define RED_ON {if((boardRelease == 10) || (boardRelease == 20)) PORTB |= (1<<PORTB0); else PORTB &=~(1<<PORTB0);} |
221 | #define RED_FLASH PORTB ^= (1<<PORTB0) |
221 | #define RED_FLASH PORTB ^= (1<<PORTB0) |