diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/config.h | 3 | ||||
-rw-r--r-- | include/motion_sense.h | 9 |
2 files changed, 12 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h index 734cd71874..1e238bf3f9 100644 --- a/include/config.h +++ b/include/config.h @@ -766,6 +766,9 @@ /* Max length of a single line of input */ #define CONFIG_CONSOLE_INPUT_LINE_SIZE 80 +/* Enable verbose output to UART console and extra timestamp print precision. */ +#define CONFIG_CONSOLE_VERBOSE + /* * Enable the experimental console. * diff --git a/include/motion_sense.h b/include/motion_sense.h index 30384374bd..3e56e7597b 100644 --- a/include/motion_sense.h +++ b/include/motion_sense.h @@ -172,6 +172,15 @@ 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). + * + * @param sensor sensor which was just initialized + * @param range range of sensor + */ +void sensor_init_done(const struct motion_sensor_t *sensor, int range); + #ifdef CONFIG_GESTURE_HOST_DETECTION /* Add an extra sensor. We may need to add more */ #define MOTION_SENSE_ACTIVITY_SENSOR_ID (motion_sensor_count) |