Subversion Repositories NaviCtrl

Rev

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

Rev 254 Rev 256
Line 244... Line 244...
244
                sprintf(msg, " MK3MAG V%d.%d%c", MK3MAG_Version.Major, MK3MAG_Version.Minor, 'a' + MK3MAG_Version.Patch);
244
                sprintf(msg, " MK3MAG V%d.%d%c", MK3MAG_Version.Major, MK3MAG_Version.Minor, 'a' + MK3MAG_Version.Patch);
245
                UART1_PutString(msg);
245
                UART1_PutString(msg);
246
                if(MK3MAG_Version.Compatible != MK3MAG_I2C_COMPATIBLE)
246
                if(MK3MAG_Version.Compatible != MK3MAG_I2C_COMPATIBLE)
247
                {
247
                {
248
                        UART1_PutString("\n\r MK3MAG not compatible!");
248
                        UART1_PutString("\n\r MK3MAG not compatible!");
-
 
249
                        UART_VersionInfo.HardwareError[0] |= NC_ERROR0_COMPASS_INCOMPATIBLE;
249
                        LED_RED_ON;
250
                        LED_RED_ON;
250
                }
251
                }
251
                else
252
                else
252
                {       // version ok
253
                {       // version ok
253
                        MK3MAG_Present = 1;
254
                        MK3MAG_Present = 1;