summaryrefslogtreecommitdiff
path: root/common/motion_sense.c
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@google.com>2017-08-04 16:20:52 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-08-08 14:56:13 -0700
commit9939855231350875737f9b05e208454451e3bb4a (patch)
tree3a93c6fb463395bc45b65950f3d8545e73521b86 /common/motion_sense.c
parent25d281a42bd1e3cbf997e658ff9ae784bbecea20 (diff)
downloadchrome-ec-9939855231350875737f9b05e208454451e3bb4a.tar.gz
Fix inconsistent task function declarations
Tasks are defined inconsistently across the code base. Signed-off-by: Stefan Reinauer <reinauer@google.com> BRANCH=none TEST=make buildall -j, also verify kevin boots to OS BUG=none Change-Id: I19a076395a9a8ee1e457e67a89d80d2f70277c97 Reviewed-on: https://chromium-review.googlesource.com/602739 Commit-Ready: Shawn N <shawnn@chromium.org> Tested-by: Shawn N <shawnn@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'common/motion_sense.c')
-rw-r--r--common/motion_sense.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/motion_sense.c b/common/motion_sense.c
index 6f993b0f12..230523acee 100644
--- a/common/motion_sense.c
+++ b/common/motion_sense.c
@@ -718,7 +718,7 @@ static int motion_sense_process(struct motion_sensor_t *sensor,
* 1 in the A/B(lid, display) and 1 in the C/D(base, keyboard)
* Gyro Sensor (optional)
*/
-void motion_sense_task(void)
+void motion_sense_task(void *u)
{
int i, ret, wait_us;
timestamp_t ts_begin_task, ts_end_task;