Subversion Repositories NaviCtrl

Compare Revisions

Ignore whitespace Rev 500 → Rev 501

/trunk/main.c
160,6 → 160,7
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;
173,6 → 174,7
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 4
#define VERSION_PATCH 5
// 0 = A
// 1 = B
// 2 = C