651,7 → 651,6 |
DebugOut.StatusGreen = AMPEL_NC | AMPEL_COMPASS; // NC and MK3Mag |
DebugOut.StatusRed = 0x00; |
UART1_PutString("\r\n++++++++++++++++++++++++++++++++++++++++++"); |
|
Compass_Init(); |
|
#ifdef FOLLOW_ME |
691,7 → 690,11 |
I2CBus(Compass_I2CPort)->Timeout = SetDelay(3000); |
|
// Intilizes the Canbus |
if(UART_VersionInfo.HWMajor >= 30) CanbusInit(); |
if(UART_VersionInfo.HWMajor >= 30) |
{ |
EXT2_Init(); // External Output EXT2 |
CanbusInit(); |
} |
// ++++++++++++++++++++++++++++++++++++++++++++++ |
for (;;) // the endless main loop |
{ |