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.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/motion_sense.h b/include/motion_sense.h
index 478468022e..10ebfd05b3 100644
--- a/include/motion_sense.h
+++ b/include/motion_sense.h
@@ -193,13 +193,13 @@ void motion_sense_fifo_add_unit(struct ec_response_motion_sensor_data *data,
#endif
/**
- * Take actions at end of sensor initialization (currently only printing
- * init done status to console).
+ * Take actions at end of sensor initialization:
+ * - print init done status to console,
+ * - set default range.
*
* @param sensor sensor which was just initialized
- * @param range range of sensor
*/
-void sensor_init_done(const struct motion_sensor_t *sensor, int range);
+int sensor_init_done(const struct motion_sensor_t *sensor);
/**
* Board specific function that is called when a double_tap event is detected.