summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2022-06-27 14:49:32 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-06-29 22:08:59 +0000
commit6e7b6118216bf3c6ac9118f36eec1bae158cb112 (patch)
tree5bdf38a69ec6fb6df1ed0f6fe219d509c0636ea7
parente0589cd5e299588fbc6ff5aadb48894e658c3772 (diff)
downloadchrome-ec-6e7b6118216bf3c6ac9118f36eec1bae158cb112.tar.gz
driver/fingerprint/fpc/bep/fpc_bio_algorithm.h: Format with clang-format
BUG=b:236386294 BRANCH=none TEST=./util/compare_build.sh -b fp Change-Id: I561f719b6da27d3f6bc65836e23ec26327dd2620 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3729945 Reviewed-by: Jeremy Bettis <jbettis@chromium.org> Reviewed-by: Tom Hughes <tomhughes@chromium.org> Commit-Queue: Tom Hughes <tomhughes@chromium.org>
-rw-r--r--driver/fingerprint/fpc/bep/fpc_bio_algorithm.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/driver/fingerprint/fpc/bep/fpc_bio_algorithm.h b/driver/fingerprint/fpc/bep/fpc_bio_algorithm.h
index 1bf598a3ee..08a4d7c7e1 100644
--- a/driver/fingerprint/fpc/bep/fpc_bio_algorithm.h
+++ b/driver/fingerprint/fpc/bep/fpc_bio_algorithm.h
@@ -66,12 +66,12 @@ int bio_algorithm_exit(void);
* - BIO_TEMPLATE_LOW_COVERAGE when matching could not be performed due to
* finger covering too little area of the sensor
*/
-#define BIO_TEMPLATE_NO_MATCH 0
-#define BIO_TEMPLATE_MATCH 1
-#define BIO_TEMPLATE_MATCH_UPDATED 3
+#define BIO_TEMPLATE_NO_MATCH 0
+#define BIO_TEMPLATE_MATCH 1
+#define BIO_TEMPLATE_MATCH_UPDATED 3
#define BIO_TEMPLATE_MATCH_UPDATE_FAILED 5
-#define BIO_TEMPLATE_LOW_QUALITY 2
-#define BIO_TEMPLATE_LOW_COVERAGE 4
+#define BIO_TEMPLATE_LOW_QUALITY 2
+#define BIO_TEMPLATE_LOW_COVERAGE 4
int bio_template_image_match_list(bio_template_t templ, uint32_t num_templ,
bio_image_t image, int32_t *match_index,
@@ -101,14 +101,14 @@ int bio_enrollment_begin(bio_enrollment_t *enrollment);
* finger covering too little area of the sensor
* - BIO_ENROLLMENT_INTERNAL_ERROR when an internal error occurred
*/
-#define BIO_ENROLLMENT_OK 0
-#define BIO_ENROLLMENT_LOW_QUALITY 1
-#define BIO_ENROLLMENT_IMMOBILE 2
-#define BIO_ENROLLMENT_LOW_COVERAGE 3
-#define BIO_ENROLLMENT_INTERNAL_ERROR 5
+#define BIO_ENROLLMENT_OK 0
+#define BIO_ENROLLMENT_LOW_QUALITY 1
+#define BIO_ENROLLMENT_IMMOBILE 2
+#define BIO_ENROLLMENT_LOW_COVERAGE 3
+#define BIO_ENROLLMENT_INTERNAL_ERROR 5
/* Can be used to detect if image was usable for enrollment or not. */
-#define BIO_ENROLLMENT_PROBLEM_MASK 1
+#define BIO_ENROLLMENT_PROBLEM_MASK 1
int bio_enrollment_add_image(bio_enrollment_t enrollment, bio_image_t image);
/*
* Returns percent of coverage accumulated during enrollment process.