Rev 1961 | Rev 1964 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1961 | Rev 1963 | ||
---|---|---|---|
Line 2... | Line 2... | ||
2 | #define _CONFIGURATION_H |
2 | #define _CONFIGURATION_H |
Line 3... | Line 3... | ||
3 | 3 | ||
4 | #include <inttypes.h> |
4 | #include <inttypes.h> |
Line 5... | Line -... | ||
5 | #include <avr/io.h> |
- | |
6 | 5 | #include <avr/io.h> |
|
7 | 6 | ||
Line 8... | Line 7... | ||
8 | #define MAX_CHANNELS 10 |
7 | #define MAX_CHANNELS 10 |
9 | #define MAX_MOTORS 12 |
8 | #define MAX_MOTORS 12 |
Line 136... | Line 135... | ||
136 | servo_t servoConfigurations[2]; // [PITCH, ROLL] |
135 | servo_t servoConfigurations[2]; // [PITCH, ROLL] |
137 | uint8_t servoCount; |
136 | uint8_t servoCount; |
Line 138... | Line 137... | ||
138 | 137 | ||
139 | // Battery warning and emergency flight |
138 | // Battery warning and emergency flight |
140 | uint8_t batteryVoltageWarning; // Value : 0-250 |
139 | uint8_t batteryVoltageWarning; // Value : 0-250 |
141 | uint8_t emergencyThrottle; // Value : 0-250 //Gaswert bei Empüngsverlust /* |
140 | uint8_t emergencyThrottle; // Value : 0-250 //Gaswert bei Emp�ngsverlust /* |
Line 142... | Line 141... | ||
142 | uint8_t emergencyFlightDuration; // Value : 0-250 // Zeitbis auf EmergencyGas geschaltet wird, wg. Rx-Problemen |
141 | uint8_t emergencyFlightDuration; // Value : 0-250 // Zeitbis auf EmergencyGas geschaltet wird, wg. Rx-Problemen |
143 | 142 | ||
144 | // Outputs |
143 | // Outputs |
Line 201... | Line 200... | ||
201 | extern uint8_t requiredMotors; |
200 | extern uint8_t requiredMotors; |
202 | extern int16_t variables[VARIABLE_COUNT]; // The "Poti"s. |
201 | extern int16_t variables[VARIABLE_COUNT]; // The "Poti"s. |
203 | extern uint8_t boardRelease; |
202 | extern uint8_t boardRelease; |
204 | extern uint8_t CPUType; |
203 | extern uint8_t CPUType; |
Line -... | Line 204... | ||
- | 204 | ||
- | 205 | extern volatile uint8_t MKFlags; |
|
- | 206 | extern uint16_t isFlying; |
|
205 | 207 | ||
206 | void channelMap_default(void); |
208 | void channelMap_default(void); |
207 | void paramSet_default(uint8_t setnumber); |
209 | void paramSet_default(uint8_t setnumber); |
Line 208... | Line 210... | ||
208 | void mixerMatrix_default(void); |
210 | void mixerMatrix_default(void); |