87,7 → 87,7 |
Scaling_t AccX; |
Scaling_t AccY; |
Scaling_t AccZ; |
unsigned char Version; |
uint8_t Version; |
} Calibration_t; |
|
Calibration_t eeCalibration EEMEM; // calibration data in EEProm |
107,8 → 107,8 |
|
int16_t Heading = -1; // the current compass heading in deg |
int16_t ZeroHeading = 180; |
unsigned char InternalCalstate = 0, ActualCalstate = 0; |
signed char PotiToFC[12] = {0,0,0,0,0,0,0,0,0,0,0,0}; |
uint8_t InternalCalstate = 0, ActualCalstate = 0; |
int8_t PotiToFC[12] = {0,0,0,0,0,0,0,0,0,0,0,0}; |
|
void CalcFields(void) |
{ |