summaryrefslogtreecommitdiff
path: root/include/fpsensor_state.h
diff options
context:
space:
mode:
authorTom Hughes <tomhughes@chromium.org>2023-03-29 17:13:53 -0700
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-04-17 20:07:22 +0000
commit020eba3677f31a4ccb51bf37bf70927a92ef6bf1 (patch)
tree817dd31d6a5d9de3b9f9e2aad5deac2b6867d0bb /include/fpsensor_state.h
parentf7455239cf4f703eb95be3fed72c691d01eb0539 (diff)
downloadchrome-ec-020eba3677f31a4ccb51bf37bf70927a92ef6bf1.tar.gz
fpsensor: Use consistent unsigned type for finger index
This is a followup to https://crrev.com/c/3872809, which changed the variable tracking the number of fingers to a consistent type (uint16_t). BRANCH=none BUG=b:244781166 TEST=./test/run_device_tests.py --board dartmonkey => PASS TEST=./test/run_device_tests.py --board bloonchipper => PASS TEST=Flash firmware on gimble, enroll, lock, unlock Change-Id: I1f414fc2bf3ccb229ad074f73eaf4a51fa252bdb Signed-off-by: Tom Hughes <tomhughes@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4382560 Reviewed-by: Yi Chou <yich@google.com>
Diffstat (limited to 'include/fpsensor_state.h')
-rw-r--r--include/fpsensor_state.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fpsensor_state.h b/include/fpsensor_state.h
index 9f2785be3a..2a0dca9116 100644
--- a/include/fpsensor_state.h
+++ b/include/fpsensor_state.h
@@ -91,7 +91,7 @@ void fp_task_simulate(void);
*
* @param idx the index of the template to clear.
*/
-void fp_clear_finger_context(int idx);
+void fp_clear_finger_context(uint16_t idx);
/**
* Clear all fingerprint templates associated with the current user id and