Subversion Repositories MK3Mag

Compare Revisions

Ignore whitespace Rev 23 → Rev 25

/branches/MK3Mag V0.14 Code Redesign Killagreg/main.c
197,9 → 197,6
// calibration state machine
switch(cal)
{
case 0: // no calibration
break;
 
case 1: // 1st step of calibration
// initialize ranges
// used to change the orientation of the MK3MAG in the horizontal plane
231,7 → 228,7
 
case 5:
// Save values
if(cal != calold) // avoid continously wrinting of eeprom!
if(cal != calold) // avoid continously writing of eeprom!
{
Calibration.X.Range = Xmax - Xmin;
Calibration.X.Offset = (Xmin + Xmax) / 2;