Subversion Repositories MK3Mag

Compare Revisions

Ignore whitespace Rev 33 → Rev 34

/trunk/main.c
345,8 → 345,8
Calibration.MagZ.Offset = (Zmin + Zmax) / 2;
if((Calibration.MagX.Range > 150) && (Calibration.MagY.Range > 150) && (Calibration.MagZ.Range > 150))
{
// indicate write process by setting the led
LED_GRN_ON;
// indicate write process by setting the led off for 2 seconds
LED_GRN_OFF;
eeprom_write_block(&Calibration, &eeCalibration, sizeof(Calibration));
Led_Timer = SetDelay(2000);
// reset blinkcode