Rev 2049 | Rev 2055 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2049 | Rev 2052 | ||
---|---|---|---|
Line 70... | Line 70... | ||
70 | #include "twimaster.h" |
70 | #include "twimaster.h" |
71 | #include "controlMixer.h" |
71 | #include "controlMixer.h" |
72 | #ifdef USE_NAVICTRL |
72 | #ifdef USE_NAVICTRL |
73 | #include "spi.h" |
73 | #include "spi.h" |
74 | #endif |
74 | #endif |
75 | #ifdef USE_DIRECT_GPS |
75 | #ifdef USE_MK3MAG |
76 | #include "mk3mag.h" |
76 | #include "mk3mag.h" |
77 | #endif |
77 | #endif |
78 | #include "eeprom.h" |
78 | #include "eeprom.h" |
Line 79... | Line 79... | ||
79 | 79 | ||
Line 106... | Line 106... | ||
106 | analog_init(); |
106 | analog_init(); |
107 | I2C_init(); |
107 | I2C_init(); |
108 | #ifdef USE_NAVICTRL |
108 | #ifdef USE_NAVICTRL |
109 | SPI_MasterInit(); |
109 | SPI_MasterInit(); |
110 | #endif |
110 | #endif |
111 | #ifdef USE_DIRECT_GPS |
111 | #ifdef USE_MK3MAG |
112 | MK3MAG_init(); |
112 | MK3MAG_init(); |
- | 113 | #endif |
|
- | 114 | #ifdef USE_DIRECT_GPS |
|
113 | usart1_init(); |
115 | usart1_init(); |
114 | #endif |
116 | #endif |
Line 115... | Line 117... | ||
115 | 117 | ||
116 | // Parameter Set handling |
118 | // Parameter Set handling |