Subversion Repositories NaviCtrl

Rev

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

Rev 149 Rev 150
Line 231... Line 231...
231
        UART1_PutString("\r\n---------------------------------------------");
231
        UART1_PutString("\r\n---------------------------------------------");
232
        UART1_PutString("\n\r Version information:");
232
        UART1_PutString("\n\r Version information:");
Line 233... Line 233...
233
 
233
 
Line 234... Line 234...
234
        GetNaviCtrlVersion();
234
        GetNaviCtrlVersion();
235
 
235
 
236
        SPI0_GetFlightCtrlVersion();
236
        I2C1_GetMK3MagVersion();
237
        if(FC_Version.Compatible != FC_SPI_COMPATIBLE)
237
        if(MK3MAG_Version.Compatible != MK3MAG_I2C_COMPATIBLE)
238
        {
238
        {
239
                UART1_PutString("\n\r Flight-Ctrl not compatible");
239
                UART1_PutString("\n\r MK3Mag not compatible");
Line 240... Line 240...
240
                LED_RED_ON;
240
                LED_RED_ON;
241
        }
241
        }
242
 
242
 
243
        I2C1_GetMK3MagVersion();
243
        SPI0_GetFlightCtrlVersion();
244
        if(MK3MAG_Version.Compatible != MK3MAG_I2C_COMPATIBLE)
244
        if(FC_Version.Compatible != FC_SPI_COMPATIBLE)
245
        {
245
        {
Line 246... Line 246...
246
                UART1_PutString("\n\r MK3Mag not compatible");
246
                UART1_PutString("\n\r Flight-Ctrl not compatible");