Rev 139 | Rev 142 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 139 | Rev 141 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #ifndef _CONFIG_H |
1 | #ifndef _CONFIG_H |
2 | #define _CONFIG_H |
2 | #define _CONFIG_H |
Line 3... | Line 3... | ||
3 | 3 | ||
4 | // Configure the interrupt priority at a level from 0 to 15 (0 is highest priority) |
4 | // Configure the interrupt priority at a level from 0 to 15 (0 is highest priority) |
- | 5 | #define PRIORITY_SPI0 1 // timing forced by FC |
|
5 | #define PRIORITY_SPI0 1 // timing forced by FC |
6 | #define PRIORITY_I2C1 2 // i2c to MK3MAG |
6 | #define PRIORITY_USB 2 // |
7 | #define PRIORITY_USB 3 // usb port |
7 | #define PRIORITY_UART0 3 // uart to GPS/MK3MAG |
8 | #define PRIORITY_UART0 6 // uart to GPS/MK3MAG |
8 | #define PRIORITY_UART1 5 // debug uart |
9 | #define PRIORITY_UART2 5 // uart to FC |
9 | #define PRIORITY_UART2 4 // uart to FC |
10 | #define PRIORITY_UART1 4 // debug uart |
10 | #define PRIORITY_I2C1 7 // i2c to MK3MAG |
11 | #define PRIORITY_TIMER2 7 // servo pwm |
11 | #define PRIORITY_TIMER1 8 // system time |
- | |
12 | #define PRIORITY_TIMER2 6 // servo pwm |
12 | #define PRIORITY_TIMER1 8 // system time |
13 | #define PRIORITY_ADC 14 // adc conversion |
13 | #define PRIORITY_ADC 14 // adc conversion |
Line 14... | Line 14... | ||
14 | #define PRIORITY_SDSWITCH 15 // switch at sd port |
14 | #define PRIORITY_SDSWITCH 15 // switch at sd port |
15 | 15 |