diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2018-02-16 10:52:52 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-03-08 17:01:10 -0800 |
commit | eb50aaded727acfaf6b8521bde325976f374a3a2 (patch) | |
tree | 5ff794f5eaa47fc5c6f8ba19889d10c9a96ddedb /include/accelgyro.h | |
parent | 52c3a72b736eab4344d3eb10079af06fa05ac2b4 (diff) | |
download | chrome-ec-eb50aaded727acfaf6b8521bde325976f374a3a2.tar.gz |
motion: driver: Fix activity inclusion in accelgyro.h
list/add_activities should be include even when FIFO support is not
compiled it, when the host is not asking for them, as it is needed for
double tap support.
BUG=b:73546254
BRANCH=master
TEST=Compile when just CONFIG_GESTURE_DETECTION is defined.
Change-Id: Icec7ccec7fd8463ea40afbe05ce1e177ae7d609d
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/924404
Commit-Ready: Gwendal Grignou <gwendal@google.com>
Tested-by: Gwendal Grignou <gwendal@google.com>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Gwendal Grignou <gwendal@google.com>
Diffstat (limited to 'include/accelgyro.h')
-rw-r--r-- | include/accelgyro.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/accelgyro.h b/include/accelgyro.h index f78af2bb90..85e4bcc04a 100644 --- a/include/accelgyro.h +++ b/include/accelgyro.h @@ -115,7 +115,7 @@ struct accelgyro_drv { */ int (*load_fifo)(struct motion_sensor_t *s); #endif -#ifdef CONFIG_GESTURE_HOST_DETECTION +#ifdef CONFIG_GESTURE_DETECTION /** * handler for setting/getting activity information. * Manage the high level activity detection of the chip. |