Subversion Repositories NaviCtrl

Rev

Rev 244 | Rev 250 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 244 Rev 247
Line 350... Line 350...
350
        USB_ConfigInit();
350
        USB_ConfigInit();
351
        // initialize SPI0 to FC
351
        // initialize SPI0 to FC
352
        SPI0_Init();
352
        SPI0_Init();
353
        // initialize i2c bus (needs Timer 1)
353
        // initialize i2c bus (needs Timer 1)
354
        I2C1_Init();
354
        I2C1_Init();
355
        // initialize the gps position controller (needs Timer 1)
355
        // initialize fat16 partition on sd card (needs Timer 1)
356
        Fat16_Init();
356
        Fat16_Init();
357
        // initialize NC params
357
        // initialize NC params
358
        NCParams_Init();
358
        NCParams_Init();
359
        // initialize the settings
359
        // initialize the settings
360
        Settings_Init();
360
        Settings_Init();
Line 376... Line 376...
376
        {
376
        {
377
                UART1_PutString("\n\r Flight-Ctrl not compatible");
377
                UART1_PutString("\n\r Flight-Ctrl not compatible");
378
                LED_RED_ON;
378
                LED_RED_ON;
379
        }
379
        }
Line 380... Line 380...
380
 
380
 
-
 
381
        GPS_Init();    
Line 381... Line -...
381
        UART0_GetMKOSDVersion();
-
 
382
 
-
 
Line 383... Line 382...
383
        GPS_Init();
382
 
384
        // initialize fat16 partition on sd card (needs Timer 1)
383
 
385
 
384
 
386
        // ---------- Prepare the isr driven
385
        // ---------- Prepare the isr driven