summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2022-06-27 14:49:45 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-06-29 22:10:11 +0000
commitc1f9dd3cf88621c76344d5f2e9cb1aa39b2b0ece (patch)
tree971c757f8c345ddc5f9ebd07d4733d4fedfa944e
parenteb1e1bed8d0dfa221271097e112ad25b08fbdeb6 (diff)
downloadchrome-ec-c1f9dd3cf88621c76344d5f2e9cb1aa39b2b0ece.tar.gz
driver/fingerprint/fpc/libfp/fpc_bio_algorithm.h: Format with clang-format
BUG=b:236386294 BRANCH=none TEST=./util/compare_build.sh -b fp Change-Id: Ieda9ca814ea98ca1d0fe1a270f13bfe9b29fb586 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3729974 Commit-Queue: Tom Hughes <tomhughes@chromium.org> Reviewed-by: Jeremy Bettis <jbettis@chromium.org> Reviewed-by: Tom Hughes <tomhughes@chromium.org>
-rw-r--r--driver/fingerprint/fpc/libfp/fpc_bio_algorithm.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/driver/fingerprint/fpc/libfp/fpc_bio_algorithm.h b/driver/fingerprint/fpc/libfp/fpc_bio_algorithm.h
index 9c00b14640..3b9db033da 100644
--- a/driver/fingerprint/fpc/libfp/fpc_bio_algorithm.h
+++ b/driver/fingerprint/fpc/libfp/fpc_bio_algorithm.h
@@ -196,12 +196,12 @@ int bio_enrollment_begin(bio_sensor_t sensor, bio_enrollment_t *enrollment);
* - BIO_ENROLLMENT_LOW_COVERAGE when image could not be used due to
* finger covering too little area of the sensor
*/
-#define BIO_ENROLLMENT_OK 0
-#define BIO_ENROLLMENT_IMMOBILE 2
-#define BIO_ENROLLMENT_LOW_QUALITY 1
-#define BIO_ENROLLMENT_LOW_COVERAGE 3
+#define BIO_ENROLLMENT_OK 0
+#define BIO_ENROLLMENT_IMMOBILE 2
+#define BIO_ENROLLMENT_LOW_QUALITY 1
+#define BIO_ENROLLMENT_LOW_COVERAGE 3
/* 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);
/*
* Indicates whether there is enough data in the enrollment for it to be
@@ -236,10 +236,10 @@ int bio_enrollment_get_percent_complete(bio_enrollment_t enrollment);
int bio_enrollment_finish(bio_enrollment_t enrollment, bio_template_t *tmpl);
typedef struct {
- int32_t coverage; /* Sensor coverage in range [0..100] */
- int32_t quality; /* Image quality in range [0..100] */
+ int32_t coverage; /* Sensor coverage in range [0..100] */
+ int32_t quality; /* Image quality in range [0..100] */
int32_t min_coverage; /* Minimum coverage accepted by enroll */
- int32_t min_quality; /* Minimum image quality accepted by enroll */
+ int32_t min_quality; /* Minimum image quality accepted by enroll */
} bio_image_status_t;
/*