/trunk/main.c |
---|
433,6 → 433,7 |
else if(CanbusTimeOut == 1) |
{ |
sprintf(ErrorMSG,"ERR: Canbus"); |
CanbusInit(); |
newErrorCode = 39; |
} |
else |
670,7 → 671,7 |
if(IamMaster == SLAVE) UART1_PutString(" SLAVE\r\n"); |
if(IamMaster == MASTER) UART1_PutString(" MASTER\r\n"); |
UBX_Setup(); // inits the GPS-Module via ubx |
if(UBX_Setup() == 0) UBX_Setup(); // inits the GPS-Module via ubx -> try twice |
GPS_Init(); |
// ---------- Prepare the isr driven |
// set to absolute lowest priority |