diff options
author | Yuval Peress <peress@chromium.org> | 2020-01-16 11:20:01 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-03-09 23:02:12 +0000 |
commit | a00ace498da24a9288fd39f9728c8fd80cd54336 (patch) | |
tree | 98ea22bd6f4d1098bb9dfdaafb98795e1024eb27 /include/accel_cal.h | |
parent | 5ccb5c7cc9c448b66c6f8e0abbb2dd785da0efb7 (diff) | |
download | chrome-ec-a00ace498da24a9288fd39f9728c8fd80cd54336.tar.gz |
common: online_calibration: Fire MKBP event on new calibration
Implement online calibration for accelerometers and fire a new
MKBP event when a new calibration value is computed.
TEST=Added new unit tests
BRANCH=None
BUG=b:138303429,chromium:1023858
Change-Id: I31ec7164be0d8c7dac210a1ac4b94ec9ecd6a60a
Signed-off-by: Yuval Peress <peress@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2012847
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'include/accel_cal.h')
-rw-r--r-- | include/accel_cal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/accel_cal.h b/include/accel_cal.h index cfba5b915d..80f0161a04 100644 --- a/include/accel_cal.h +++ b/include/accel_cal.h @@ -8,6 +8,7 @@ #ifndef __CROS_EC_ACCEL_CAL_H #define __CROS_EC_ACCEL_CAL_H +#include "common.h" #include "kasa.h" #include "newton_fit.h" #include "stdbool.h" |