summaryrefslogtreecommitdiff
path: root/include/motion_sense.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/motion_sense.h')
-rw-r--r--include/motion_sense.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/motion_sense.h b/include/motion_sense.h
index 6033d52ff9..ac074055aa 100644
--- a/include/motion_sense.h
+++ b/include/motion_sense.h
@@ -283,6 +283,12 @@ int sensor_init_done(struct motion_sensor_t *sensor);
void sensor_board_proc_double_tap(void);
/**
+ * Board specific function to double check lid angle calculation is possible.
+ *
+ */
+int sensor_board_is_lid_angle_available(void);
+
+/**
* Commit the data in a sensor's raw_xyz vector. This operation might have
* different meanings depending on the CONFIG_ACCEL_FIFO flag.
*
@@ -354,4 +360,8 @@ ec_motion_sensor_fill_values(struct ec_response_motion_sensor_data *dst,
dst->data[2] = v[2];
}
+#ifdef CONFIG_ZTEST
+enum sensor_config motion_sense_get_ec_config(void);
+#endif
+
#endif /* __CROS_EC_MOTION_SENSE_H */