X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=calibration.h;h=6275ad3ce3be75d0a05dabba5bf70eaca6104ea9;hb=138a7ad03eb4ecdc5a68f53784e8883290c7e608;hp=1edf7e6ca11b4d563b7d4053bf22c493f0d0be90;hpb=ca5db17bce09f9e6dd89f27bac28465aadba795e;p=android-x86%2Fhardware-intel-libsensors.git diff --git a/calibration.h b/calibration.h index 1edf7e6..6275ad3 100644 --- a/calibration.h +++ b/calibration.h @@ -16,14 +16,6 @@ #define MAGNETIC_LOW 960 /* 31 micro tesla squared */ #define MAGNETIC_HIGH 3600 /* 60 micro tesla squared */ -/* We'll have multiple calibration levels -* so that we can provide an estimation as fast as possible -*/ -static const float min_diffs[CAL_STEPS] = { 0.2, 0.4, 0.6, 1.0 }; -static const float max_sqr_errs[CAL_STEPS] = { 10.0, 8.0, 5.0, 3.5 }; -static const unsigned int lookback_counts[CAL_STEPS] = { 3, 4, 5, 6 }; - - #ifdef DBG_RAW_DATA #define RAW_DATA_FULL_PATH "/data/raw_compass_data_full_%d.txt" #define RAW_DATA_SELECTED_PATH "/data/raw_compass_data_selected_%d.txt"