Subversion Repositories NaviCtrl

Compare Revisions

Ignore whitespace Rev 501 → Rev 500

/trunk/main.c
160,7 → 160,6
LED_RED_ON;
sprintf(ErrorMSG,"no compass communica");
//Reset Compass communication
if(Compass_I2CPort == NCMAG_PORT_EXTERN) I2CBus_Init(I2C0); else I2CBus_Init(I2C1);
Compass_Init();
newErrorCode = 4;
StopNavigation = 1;
174,7 → 173,6
newErrorCode = 34;
StopNavigation = 1;
UART_VersionInfo.HardwareError[0] |= NC_ERROR0_COMPASS_VALUE;
if(Compass_I2CPort == NCMAG_PORT_EXTERN) I2CBus_Init(I2C0); else I2CBus_Init(I2C1);
Compass_Init();
}
else if((FCCalibActive || CompassCalState) && FC_Version.Hardware)
/trunk/main.h
14,7 → 14,7
 
#define VERSION_MAJOR 2
#define VERSION_MINOR 3
#define VERSION_PATCH 5
#define VERSION_PATCH 4
// 0 = A
// 1 = B
// 2 = C