Rev 115 | Rev 119 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 115 | Rev 116 | ||
---|---|---|---|
Line 223... | Line 223... | ||
223 | 223 | ||
224 | TimerCompassUpdate = SetDelay(5); |
224 | TimerCompassUpdate = SetDelay(5); |
225 | TimerCheckError = SetDelay(3000); |
225 | TimerCheckError = SetDelay(3000); |
226 | UART1_PutString("\r\n---------------------------------------------"); |
226 | UART1_PutString("\r\n---------------------------------------------"); |
- | 227 | UART1_PutString("\n\r Version information:"); |
|
227 | UART1_PutString("\n\r Version information:"); |
228 | |
- | 229 | GetNaviCtrlVersion(); |
|
228 | GetNaviCtrlVersion(); |
230 | |
229 | SPI0_GetFlightCtrlVersion(); |
231 | SPI0_GetFlightCtrlVersion(); |
230 | if(FC_Version.Compatible != FC_SPI_COMPATIBLE) |
232 | if(FC_Version.Compatible != FC_SPI_COMPATIBLE) |
231 | { |
233 | { |
232 | //sprintf(ErrorMSG,"\r\n %d <-> %d", FlightCtrlVersion.NaviCompatible, FC_SPI_COMPATIBLE); |
234 | //sprintf(ErrorMSG,"\r\n %d <-> %d", FlightCtrlVersion.NaviCompatible, FC_SPI_COMPATIBLE); |
Line 240... | Line 242... | ||
240 | { |
242 | { |
241 | UART1_PutString("\n\r MK3Mag not compatible"); |
243 | UART1_PutString("\n\r MK3Mag not compatible"); |
242 | LED_RED_ON; |
244 | LED_RED_ON; |
243 | } |
245 | } |
Line -... | Line 246... | ||
- | 246 | ||
- | 247 | UART0_GetMKOSDVersion(); |
|
244 | 248 | ||
Line 245... | Line 249... | ||
245 | UART1_PutString("\r\n---------------------------------------------\r\n\r\n"); |
249 | UART1_PutString("\r\n---------------------------------------------\r\n\r\n"); |
246 | 250 | ||
247 | for (;;) |
251 | for (;;) |