Subversion Repositories NaviCtrl

Rev

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

Rev 715 Rev 719
Line 649... Line 649...
649
 
649
 
650
        GetNaviCtrlVersion();
650
        GetNaviCtrlVersion();
651
        DebugOut.StatusGreen = AMPEL_NC | AMPEL_COMPASS; // NC and MK3Mag
651
        DebugOut.StatusGreen = AMPEL_NC | AMPEL_COMPASS; // NC and MK3Mag
652
        DebugOut.StatusRed = 0x00;
652
        DebugOut.StatusRed = 0x00;
653
        UART1_PutString("\r\n++++++++++++++++++++++++++++++++++++++++++");
-
 
654
 
653
        UART1_PutString("\r\n++++++++++++++++++++++++++++++++++++++++++");
Line 655... Line 654...
655
        Compass_Init();
654
        Compass_Init();
656
 
655
 
657
#ifdef FOLLOW_ME
656
#ifdef FOLLOW_ME
Line 689... Line 688...
689
 
688
 
690
        CompassValueErrorCount = 0;
689
        CompassValueErrorCount = 0;
Line 691... Line 690...
691
        I2CBus(Compass_I2CPort)->Timeout = SetDelay(3000);
690
        I2CBus(Compass_I2CPort)->Timeout = SetDelay(3000);
692
 
691
 
-
 
692
        // Intilizes the Canbus
-
 
693
        if(UART_VersionInfo.HWMajor >= 30)
-
 
694
         {
-
 
695
           EXT2_Init(); // External Output EXT2
693
        // Intilizes the Canbus
696
           CanbusInit();
694
        if(UART_VersionInfo.HWMajor >= 30) CanbusInit();
697
         }
695
// ++++++++++++++++++++++++++++++++++++++++++++++
698
// ++++++++++++++++++++++++++++++++++++++++++++++
696
        for (;;) // the endless main loop
699
        for (;;) // the endless main loop
697
        {
700
        {