Subversion Repositories NaviCtrl

Rev

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

Rev 257 Rev 264
Line 732... Line 732...
732
                                LED_RED_ON;
732
                                LED_RED_ON;
733
                        }
733
                        }
734
                        else
734
                        else
735
                        {
735
                        {
736
                                NCMAG_Present = 1;
736
                                NCMAG_Present = 1;
-
 
737
                                if(EEPROM_Init())
-
 
738
                                {
737
                                NCMAG_IsCalibrated = NCMag_CalibrationRead();
739
                                        NCMAG_IsCalibrated = NCMag_CalibrationRead();
738
                                if(!NCMAG_IsCalibrated) UART1_PutString("\r\n Not calibrated!");
740
                                        if(!NCMAG_IsCalibrated) UART1_PutString("\r\n Not calibrated!");
-
 
741
                                }
-
 
742
                                else UART1_PutString("\r\n Calibration data not available!");
739
                        }
743
                        }
740
                }
744
                }
741
                else
745
                else
742
                {
746
                {
743
                        UART1_PutString("\n\r Not compatible!");
747
                        UART1_PutString("\n\r Not compatible!");